[{"data":1,"prerenderedAt":1625},["ShallowReactive",2],{"navigation_docs_en":3,"-en-tauri-sqlite-orm-api-reference":237,"-en-tauri-sqlite-orm-api-reference-surround":1622},[4,15,69,122],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":14},"Getting Started with Docs","i-lucide-home","/en/getting-started","en/1.getting-started",[10],{"title":11,"path":12,"stem":13,"icon":6},"Introduction","/en/getting-started/introduction","en/1.getting-started/1.introduction",false,{"title":16,"path":17,"stem":18,"children":19,"page":14},"owo-ui Components","/en/owo-ui-components","en/2.owo-ui-components",[20,23],{"title":11,"path":21,"stem":22,"icon":6},"/en/owo-ui-components/introduction","en/2.owo-ui-components/2.introduction",{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":14},"Components","i-lucide-layout","/en/owo-ui-components/components","en/2.owo-ui-components/3.components",[29,33,37,41,45,49,53,57,61,65],{"title":30,"path":31,"stem":32},"Button","/en/owo-ui-components/components/button","en/2.owo-ui-components/3.components/button",{"title":34,"path":35,"stem":36},"Checkbox","/en/owo-ui-components/components/checkbox","en/2.owo-ui-components/3.components/checkbox",{"title":38,"path":39,"stem":40},"Collapsible Container","/en/owo-ui-components/components/collapsible-container","en/2.owo-ui-components/3.components/collapsible-container",{"title":42,"path":43,"stem":44},"Dropdown","/en/owo-ui-components/components/dropdown","en/2.owo-ui-components/3.components/dropdown",{"title":46,"path":47,"stem":48},"Flow Layout","/en/owo-ui-components/components/flow-layout","en/2.owo-ui-components/3.components/flow-layout",{"title":50,"path":51,"stem":52},"Grid Layout","/en/owo-ui-components/components/grid-layout","en/2.owo-ui-components/3.components/grid-layout",{"title":54,"path":55,"stem":56},"Label","/en/owo-ui-components/components/label","en/2.owo-ui-components/3.components/label",{"title":58,"path":59,"stem":60},"Scroll Container","/en/owo-ui-components/components/scroll-container","en/2.owo-ui-components/3.components/scroll-container",{"title":62,"path":63,"stem":64},"Slider","/en/owo-ui-components/components/slider","en/2.owo-ui-components/3.components/slider",{"title":66,"path":67,"stem":68},"Templates","/en/owo-ui-components/components/templates","en/2.owo-ui-components/3.components/templates",{"title":70,"path":71,"stem":72,"children":73,"page":14},"Nexus","/en/nexus","en/3.nexus",[74,77,82],{"title":11,"path":75,"stem":76,"icon":6},"/en/nexus/introduction","en/3.nexus/2.introduction",{"title":78,"path":79,"stem":80,"icon":81},"Deployment","/en/nexus/deployment","en/3.nexus/3.deployment","i-lucide-rocket",{"title":83,"path":84,"stem":85,"children":86,"page":14},"Endpoints","/en/nexus/endpoints","en/3.nexus/endpoints",[87,91,95,99,102,106,110,114,118],{"title":88,"path":89,"stem":90},"Authentication","/en/nexus/endpoints/authentication","en/3.nexus/endpoints/1.authentication",{"title":92,"path":93,"stem":94},"Rate Limiting","/en/nexus/endpoints/rate-limiting","en/3.nexus/endpoints/2.rate-limiting",{"title":96,"path":97,"stem":98},"Error Handling","/en/nexus/endpoints/error-handling","en/3.nexus/endpoints/3.error-handling",{"title":83,"path":100,"stem":101},"/en/nexus/endpoints/_dir","en/3.nexus/endpoints/_dir",{"title":103,"path":104,"stem":105},"Album","/en/nexus/endpoints/albums","en/3.nexus/endpoints/albums",{"title":107,"path":108,"stem":109},"Blog","/en/nexus/endpoints/blog","en/3.nexus/endpoints/blog",{"title":111,"path":112,"stem":113},"Comments","/en/nexus/endpoints/comments","en/3.nexus/endpoints/comments",{"title":115,"path":116,"stem":117},"File Management","/en/nexus/endpoints/file-management","en/3.nexus/endpoints/file-management",{"title":119,"path":120,"stem":121},"Photo Management","/en/nexus/endpoints/photos","en/3.nexus/endpoints/photos",{"title":123,"icon":124,"path":125,"stem":126,"children":127,"page":14},"Tauri SQLite ORM","i-lucide-database","/en/tauri-sqlite-orm","en/4.tauri-sqlite-orm",[128,132,137,141,162,187,232],{"title":11,"path":129,"stem":130,"icon":131},"/en/tauri-sqlite-orm/introduction","en/4.tauri-sqlite-orm/1.introduction","i-lucide-book-open",{"title":133,"path":134,"stem":135,"icon":136},"Installation & Setup","/en/tauri-sqlite-orm/installation-and-setup","en/4.tauri-sqlite-orm/2.installation-and-setup","i-lucide-download",{"title":138,"path":139,"stem":140,"icon":81},"Your First Schema & Query","/en/tauri-sqlite-orm/your-first-schema-and-query","en/4.tauri-sqlite-orm/3.your-first-schema-and-query",{"title":142,"path":143,"stem":144,"children":145,"page":14},"Core Concepts","/en/tauri-sqlite-orm/core-concepts","en/4.tauri-sqlite-orm/4.core-concepts",[146,150,154,158],{"title":147,"path":148,"stem":149},"Defining Schemas","/en/tauri-sqlite-orm/core-concepts/defining-schemas","en/4.tauri-sqlite-orm/4.core-concepts/1.defining-schemas",{"title":151,"path":152,"stem":153},"Column Types & Modifiers","/en/tauri-sqlite-orm/core-concepts/column-types-and-modifiers","en/4.tauri-sqlite-orm/4.core-concepts/2.column-types-and-modifiers",{"title":155,"path":156,"stem":157},"The ORM Instance","/en/tauri-sqlite-orm/core-concepts/the-orm-instance","en/4.tauri-sqlite-orm/4.core-concepts/3.the-orm-instance",{"title":159,"path":160,"stem":161},"Migrations","/en/tauri-sqlite-orm/core-concepts/migrations","en/4.tauri-sqlite-orm/4.core-concepts/4.migrations",{"title":163,"path":164,"stem":165,"children":166,"page":14},"Querying Data","/en/tauri-sqlite-orm/querying-data","en/4.tauri-sqlite-orm/5.querying-data",[167,171,175,179,183],{"title":168,"path":169,"stem":170},"Select","/en/tauri-sqlite-orm/querying-data/selecting-data","en/4.tauri-sqlite-orm/5.querying-data/1.selecting-data",{"title":172,"path":173,"stem":174},"Insert","/en/tauri-sqlite-orm/querying-data/inserting-data","en/4.tauri-sqlite-orm/5.querying-data/2.inserting-data",{"title":176,"path":177,"stem":178},"Update","/en/tauri-sqlite-orm/querying-data/updating-data","en/4.tauri-sqlite-orm/5.querying-data/3.updating-data",{"title":180,"path":181,"stem":182},"Delete","/en/tauri-sqlite-orm/querying-data/deleting-data","en/4.tauri-sqlite-orm/5.querying-data/4.deleting-data",{"title":184,"path":185,"stem":186},"Conditions & Operators","/en/tauri-sqlite-orm/querying-data/conditions-and-operators","en/4.tauri-sqlite-orm/5.querying-data/5.conditions-and-operators",{"title":188,"path":189,"stem":190,"children":191,"page":14},"Advanced Topics","/en/tauri-sqlite-orm/advanced-topics","en/4.tauri-sqlite-orm/6.advanced-topics",[192,196,200,204,208,212,216,220,224,228],{"title":193,"path":194,"stem":195},"Relations","/en/tauri-sqlite-orm/advanced-topics/working-with-relations","en/4.tauri-sqlite-orm/6.advanced-topics/1.working-with-relations",{"title":197,"path":198,"stem":199},"Error Handling & Safety","/en/tauri-sqlite-orm/advanced-topics/error-handling-and-safety","en/4.tauri-sqlite-orm/6.advanced-topics/10.error-handling-and-safety",{"title":201,"path":202,"stem":203},"Joins","/en/tauri-sqlite-orm/advanced-topics/joins","en/4.tauri-sqlite-orm/6.advanced-topics/2.joins",{"title":205,"path":206,"stem":207},"Transactions","/en/tauri-sqlite-orm/advanced-topics/transactions","en/4.tauri-sqlite-orm/6.advanced-topics/3.transactions",{"title":209,"path":210,"stem":211},"Common Table Expressions","/en/tauri-sqlite-orm/advanced-topics/common-table-expressions","en/4.tauri-sqlite-orm/6.advanced-topics/4.common-table-expressions",{"title":213,"path":214,"stem":215},"Raw SQL","/en/tauri-sqlite-orm/advanced-topics/raw-sql","en/4.tauri-sqlite-orm/6.advanced-topics/5.raw-sql",{"title":217,"path":218,"stem":219},"Type Safety & Inference","/en/tauri-sqlite-orm/advanced-topics/type-safety-and-inference","en/4.tauri-sqlite-orm/6.advanced-topics/6.type-safety-and-inference",{"title":221,"path":222,"stem":223},"Schema Management","/en/tauri-sqlite-orm/advanced-topics/manual-schema-management","en/4.tauri-sqlite-orm/6.advanced-topics/7.manual-schema-management",{"title":225,"path":226,"stem":227},"Query Debugging","/en/tauri-sqlite-orm/advanced-topics/query-debugging","en/4.tauri-sqlite-orm/6.advanced-topics/8.query-debugging",{"title":229,"path":230,"stem":231},"Subqueries & Aggregates","/en/tauri-sqlite-orm/advanced-topics/subqueries-and-aggregates","en/4.tauri-sqlite-orm/6.advanced-topics/9.subqueries-and-aggregates",{"title":233,"path":234,"stem":235,"icon":236},"API Reference","/en/tauri-sqlite-orm/api-reference","en/4.tauri-sqlite-orm/7.api-reference","i-lucide-book",{"id":238,"title":233,"body":239,"description":1615,"extension":1616,"links":1617,"meta":1618,"navigation":1619,"path":234,"seo":1620,"stem":235,"__hash__":1621},"docs_en/en/4.tauri-sqlite-orm/7.api-reference.md",{"type":240,"value":241,"toc":1588},"minimark",[242,247,252,351,355,444,448,722,726,851,855,1002,1006,1110,1114,1118,1164,1168,1188,1192,1224,1228,1242,1246,1260,1264,1308,1312,1356,1360,1404,1408,1422,1426,1495,1499,1522,1526],[243,244,246],"h2",{"id":245},"orm-instance-methods","ORM Instance Methods",[248,249,251],"h3",{"id":250},"query-builders","Query Builders",[253,254,255,271],"table",{},[256,257,258],"thead",{},[259,260,261,265,268],"tr",{},[262,263,264],"th",{},"Method",[262,266,267],{},"Returns",[262,269,270],{},"Description",[272,273,274,291,306,321,336],"tbody",{},[259,275,276,283,288],{},[277,278,279],"td",{},[280,281,282],"code",{},"db.select(table, columns?)",[277,284,285],{},[280,286,287],{},"SelectQueryBuilder",[277,289,290],{},"Start a SELECT query",[259,292,293,298,303],{},[277,294,295],{},[280,296,297],{},"db.insert(table)",[277,299,300],{},[280,301,302],{},"InsertQueryBuilder",[277,304,305],{},"Start an INSERT query",[259,307,308,313,318],{},[277,309,310],{},[280,311,312],{},"db.update(table)",[277,314,315],{},[280,316,317],{},"UpdateQueryBuilder",[277,319,320],{},"Start an UPDATE query",[259,322,323,328,333],{},[277,324,325],{},[280,326,327],{},"db.delete(table)",[277,329,330],{},[280,331,332],{},"DeleteQueryBuilder",[277,334,335],{},"Start a DELETE query",[259,337,338,343,348],{},[277,339,340],{},[280,341,342],{},"db.upsert(table, data, conflictTarget)",[277,344,345],{},[280,346,347],{},"Promise",[277,349,350],{},"Insert or update on conflict",[248,352,354],{"id":353},"utilities","Utilities",[253,356,357,367],{},[256,358,359],{},[259,360,361,363,365],{},[262,362,264],{},[262,364,267],{},[262,366,270],{},[272,368,369,384,399,414,429],{},[259,370,371,376,381],{},[277,372,373],{},[280,374,375],{},"db.transaction(callback)",[277,377,378],{},[280,379,380],{},"Promise\u003CT>",[277,382,383],{},"Execute operations in a transaction",[259,385,386,391,396],{},[277,387,388],{},[280,389,390],{},"db.migrate(options?)",[277,392,393],{},[280,394,395],{},"Promise\u003Cvoid>",[277,397,398],{},"Run database migrations",[259,400,401,406,411],{},[277,402,403],{},[280,404,405],{},"db.migrateIfDirty()",[277,407,408],{},[280,409,410],{},"Promise\u003Cboolean>",[277,412,413],{},"Run migrations only if schema changed",[259,415,416,421,426],{},[277,417,418],{},[280,419,420],{},"db.isSchemaDirty()",[277,422,423],{},[280,424,425],{},"Promise\u003C{dirty, current, stored}>",[277,427,428],{},"Check if schema has changed",[259,430,431,436,441],{},[277,432,433],{},[280,434,435],{},"db.$with(alias)",[277,437,438],{},[280,439,440],{},"WithQueryBuilder",[277,442,443],{},"Start a CTE (Common Table Expression)",[243,445,447],{"id":446},"selectquerybuilder-methods","SelectQueryBuilder Methods",[253,449,450,460],{},[256,451,452],{},[259,453,454,456,458],{},[262,455,264],{},[262,457,267],{},[262,459,270],{},[272,461,462,477,491,505,519,533,547,561,575,589,603,618,633,649,663,678,692,707],{},[259,463,464,469,474],{},[277,465,466],{},[280,467,468],{},".where(condition)",[277,470,471],{},[280,472,473],{},"this",[277,475,476],{},"Filter results with a condition",[259,478,479,484,488],{},[277,480,481],{},[280,482,483],{},".orderBy(column, direction?)",[277,485,486],{},[280,487,473],{},[277,489,490],{},"Sort results (ASC or DESC)",[259,492,493,498,502],{},[277,494,495],{},[280,496,497],{},".limit(count)",[277,499,500],{},[280,501,473],{},[277,503,504],{},"Limit number of results",[259,506,507,512,516],{},[277,508,509],{},[280,510,511],{},".offset(count)",[277,513,514],{},[280,515,473],{},[277,517,518],{},"Skip first N results",[259,520,521,526,530],{},[277,522,523],{},[280,524,525],{},".distinct()",[277,527,528],{},[280,529,473],{},[277,531,532],{},"Return only distinct rows",[259,534,535,540,544],{},[277,536,537],{},[280,538,539],{},".groupBy(...columns)",[277,541,542],{},[280,543,473],{},[277,545,546],{},"Group results by columns",[259,548,549,554,558],{},[277,550,551],{},[280,552,553],{},".having(condition)",[277,555,556],{},[280,557,473],{},[277,559,560],{},"Filter grouped results",[259,562,563,568,572],{},[277,564,565],{},[280,566,567],{},".leftJoin(table, condition, alias)",[277,569,570],{},[280,571,473],{},[277,573,574],{},"Add a LEFT JOIN",[259,576,577,582,586],{},[277,578,579],{},[280,580,581],{},".innerJoin(table, condition, alias)",[277,583,584],{},[280,585,473],{},[277,587,588],{},"Add an INNER JOIN",[259,590,591,596,600],{},[277,592,593],{},[280,594,595],{},".include(relations)",[277,597,598],{},[280,599,473],{},[277,601,602],{},"Load relations",[259,604,605,610,615],{},[277,606,607],{},[280,608,609],{},".all()",[277,611,612],{},[280,613,614],{},"Promise\u003CT[]>",[277,616,617],{},"Execute and return all rows",[259,619,620,625,630],{},[277,621,622],{},[280,623,624],{},".get()",[277,626,627],{},[280,628,629],{},"Promise\u003CT | undefined>",[277,631,632],{},"Execute and return first row",[259,634,635,640,644],{},[277,636,637],{},[280,638,639],{},".first()",[277,641,642],{},[280,643,629],{},[277,645,646,647],{},"Alias for ",[280,648,624],{},[259,650,651,656,660],{},[277,652,653],{},[280,654,655],{},".exists()",[277,657,658],{},[280,659,410],{},[277,661,662],{},"Check if any rows exist",[259,664,665,670,675],{},[277,666,667],{},[280,668,669],{},".count()",[277,671,672],{},[280,673,674],{},"Promise\u003Cnumber>",[277,676,677],{},"Count matching rows",[259,679,680,685,689],{},[277,681,682],{},[280,683,684],{},".pluck(column)",[277,686,687],{},[280,688,614],{},[277,690,691],{},"Get array of single column values",[259,693,694,699,704],{},[277,695,696],{},[280,697,698],{},".paginate(page, pageSize)",[277,700,701],{},[280,702,703],{},"Promise\u003CPaginationResult>",[277,705,706],{},"Get paginated results",[259,708,709,714,719],{},[277,710,711],{},[280,712,713],{},".toSQL()",[277,715,716],{},[280,717,718],{},"{sql, params}",[277,720,721],{},"Get SQL without executing",[243,723,725],{"id":724},"insertquerybuilder-methods","InsertQueryBuilder Methods",[253,727,728,738],{},[256,729,730],{},[259,731,732,734,736],{},[262,733,264],{},[262,735,267],{},[262,737,270],{},[272,739,740,754,768,782,796,810,824,839],{},[259,741,742,747,751],{},[277,743,744],{},[280,745,746],{},".values(data)",[277,748,749],{},[280,750,473],{},[277,752,753],{},"Set data to insert (single object or array)",[259,755,756,761,765],{},[277,757,758],{},[280,759,760],{},".returning(...columns)",[277,762,763],{},[280,764,473],{},[277,766,767],{},"Return specific columns after insert",[259,769,770,775,779],{},[277,771,772],{},[280,773,774],{},".returningAll()",[277,776,777],{},[280,778,614],{},[277,780,781],{},"Return all columns after insert (array)",[259,783,784,789,793],{},[277,785,786],{},[280,787,788],{},".returningFirst()",[277,790,791],{},[280,792,629],{},[277,794,795],{},"Return first inserted record (single object)",[259,797,798,803,807],{},[277,799,800],{},[280,801,802],{},".onConflictDoNothing(target?)",[277,804,805],{},[280,806,473],{},[277,808,809],{},"Ignore conflicts",[259,811,812,817,821],{},[277,813,814],{},[280,815,816],{},".onConflictDoUpdate(config)",[277,818,819],{},[280,820,473],{},[277,822,823],{},"Update on conflict (upsert)",[259,825,826,831,836],{},[277,827,828],{},[280,829,830],{},".execute()",[277,832,833],{},[280,834,835],{},"Promise\u003CResult>",[277,837,838],{},"Execute the insert",[259,840,841,845,849],{},[277,842,843],{},[280,844,713],{},[277,846,847],{},[280,848,718],{},[277,850,721],{},[243,852,854],{"id":853},"updatequerybuilder-methods","UpdateQueryBuilder Methods",[253,856,857,867],{},[256,858,859],{},[259,860,861,863,865],{},[262,862,264],{},[262,864,267],{},[262,866,270],{},[272,868,869,883,896,910,924,938,951,964,977,990],{},[259,870,871,876,880],{},[277,872,873],{},[280,874,875],{},".set(data)",[277,877,878],{},[280,879,473],{},[277,881,882],{},"Set column values to update",[259,884,885,889,893],{},[277,886,887],{},[280,888,468],{},[277,890,891],{},[280,892,473],{},[277,894,895],{},"Filter which rows to update (required!)",[259,897,898,903,907],{},[277,899,900],{},[280,901,902],{},".increment(column, value?)",[277,904,905],{},[280,906,473],{},[277,908,909],{},"Atomically increment a column",[259,911,912,917,921],{},[277,913,914],{},[280,915,916],{},".decrement(column, value?)",[277,918,919],{},[280,920,473],{},[277,922,923],{},"Atomically decrement a column",[259,925,926,931,935],{},[277,927,928],{},[280,929,930],{},".allowGlobalOperation()",[277,932,933],{},[280,934,473],{},[277,936,937],{},"Allow UPDATE without WHERE clause",[259,939,940,944,948],{},[277,941,942],{},[280,943,760],{},[277,945,946],{},[280,947,473],{},[277,949,950],{},"Return specific columns after update",[259,952,953,957,961],{},[277,954,955],{},[280,956,774],{},[277,958,959],{},[280,960,614],{},[277,962,963],{},"Return all columns after update (array)",[259,965,966,970,974],{},[277,967,968],{},[280,969,788],{},[277,971,972],{},[280,973,629],{},[277,975,976],{},"Return first updated record (single object)",[259,978,979,983,987],{},[277,980,981],{},[280,982,830],{},[277,984,985],{},[280,986,835],{},[277,988,989],{},"Execute the update",[259,991,992,996,1000],{},[277,993,994],{},[280,995,713],{},[277,997,998],{},[280,999,718],{},[277,1001,721],{},[243,1003,1005],{"id":1004},"deletequerybuilder-methods","DeleteQueryBuilder Methods",[253,1007,1008,1018],{},[256,1009,1010],{},[259,1011,1012,1014,1016],{},[262,1013,264],{},[262,1015,267],{},[262,1017,270],{},[272,1019,1020,1033,1046,1059,1072,1085,1098],{},[259,1021,1022,1026,1030],{},[277,1023,1024],{},[280,1025,468],{},[277,1027,1028],{},[280,1029,473],{},[277,1031,1032],{},"Filter which rows to delete (required!)",[259,1034,1035,1039,1043],{},[277,1036,1037],{},[280,1038,930],{},[277,1040,1041],{},[280,1042,473],{},[277,1044,1045],{},"Allow DELETE without WHERE clause",[259,1047,1048,1052,1056],{},[277,1049,1050],{},[280,1051,760],{},[277,1053,1054],{},[280,1055,473],{},[277,1057,1058],{},"Return specific columns from deleted rows",[259,1060,1061,1065,1069],{},[277,1062,1063],{},[280,1064,774],{},[277,1066,1067],{},[280,1068,614],{},[277,1070,1071],{},"Return all columns from deleted rows (array)",[259,1073,1074,1078,1082],{},[277,1075,1076],{},[280,1077,788],{},[277,1079,1080],{},[280,1081,629],{},[277,1083,1084],{},"Return first deleted record (single object)",[259,1086,1087,1091,1095],{},[277,1088,1089],{},[280,1090,830],{},[277,1092,1093],{},[280,1094,835],{},[277,1096,1097],{},"Execute the delete",[259,1099,1100,1104,1108],{},[277,1101,1102],{},[280,1103,713],{},[277,1105,1106],{},[280,1107,718],{},[277,1109,721],{},[243,1111,1113],{"id":1112},"operators","Operators",[248,1115,1117],{"id":1116},"comparison","Comparison",[1119,1120,1121,1128,1134,1140,1146,1152,1158],"ul",{},[1122,1123,1124,1127],"li",{},[280,1125,1126],{},"eq(column, value, alias?)"," - Equal",[1122,1129,1130,1133],{},[280,1131,1132],{},"ne(column, value, alias?)"," - Not equal",[1122,1135,1136,1139],{},[280,1137,1138],{},"gt(column, value)"," - Greater than",[1122,1141,1142,1145],{},[280,1143,1144],{},"gte(column, value)"," - Greater than or equal",[1122,1147,1148,1151],{},[280,1149,1150],{},"lt(column, value)"," - Less than",[1122,1153,1154,1157],{},[280,1155,1156],{},"lte(column, value)"," - Less than or equal",[1122,1159,1160,1163],{},[280,1161,1162],{},"between(column, min, max)"," - Between range",[248,1165,1167],{"id":1166},"logical","Logical",[1119,1169,1170,1176,1182],{},[1122,1171,1172,1175],{},[280,1173,1174],{},"and(...conditions)"," - AND conditions",[1122,1177,1178,1181],{},[280,1179,1180],{},"or(...conditions)"," - OR conditions",[1122,1183,1184,1187],{},[280,1185,1186],{},"not(condition)"," - NOT condition",[248,1189,1191],{"id":1190},"string","String",[1119,1193,1194,1200,1206,1212,1218],{},[1122,1195,1196,1199],{},[280,1197,1198],{},"like(column, pattern)"," - LIKE pattern",[1122,1201,1202,1205],{},[280,1203,1204],{},"ilike(column, pattern)"," - Case-insensitive LIKE",[1122,1207,1208,1211],{},[280,1209,1210],{},"startsWith(column, value)"," - Starts with",[1122,1213,1214,1217],{},[280,1215,1216],{},"endsWith(column, value)"," - Ends with",[1122,1219,1220,1223],{},[280,1221,1222],{},"contains(column, value)"," - Contains substring",[248,1225,1227],{"id":1226},"arraylist","Array/List",[1119,1229,1230,1236],{},[1122,1231,1232,1235],{},[280,1233,1234],{},"inArray(column, values | subquery)"," - IN array or subquery",[1122,1237,1238,1241],{},[280,1239,1240],{},"notIn(column, values | subquery)"," - NOT IN array or subquery",[248,1243,1245],{"id":1244},"null","Null",[1119,1247,1248,1254],{},[1122,1249,1250,1253],{},[280,1251,1252],{},"isNull(column)"," - IS NULL",[1122,1255,1256,1259],{},[280,1257,1258],{},"isNotNull(column)"," - IS NOT NULL",[248,1261,1263],{"id":1262},"subquery","Subquery",[1119,1265,1266,1272,1278,1284,1290,1296,1302],{},[1122,1267,1268,1271],{},[280,1269,1270],{},"exists(subquery)"," - EXISTS",[1122,1273,1274,1277],{},[280,1275,1276],{},"notExists(subquery)"," - NOT EXISTS",[1122,1279,1280,1283],{},[280,1281,1282],{},"eqSubquery(column, subquery)"," - Equal to subquery",[1122,1285,1286,1289],{},[280,1287,1288],{},"gtSubquery(column, subquery)"," - Greater than subquery",[1122,1291,1292,1295],{},[280,1293,1294],{},"gteSubquery(column, subquery)"," - Greater than or equal to subquery",[1122,1297,1298,1301],{},[280,1299,1300],{},"ltSubquery(column, subquery)"," - Less than subquery",[1122,1303,1304,1307],{},[280,1305,1306],{},"lteSubquery(column, subquery)"," - Less than or equal to subquery",[243,1309,1311],{"id":1310},"column-helpers","Column Helpers",[1119,1313,1314,1320,1326,1332,1338,1344,1350],{},[1122,1315,1316,1319],{},[280,1317,1318],{},"text(name, config?)"," - TEXT column",[1122,1321,1322,1325],{},[280,1323,1324],{},"integer(name, config?)"," - INTEGER column",[1122,1327,1328,1331],{},[280,1329,1330],{},"real(name)"," - REAL column",[1122,1333,1334,1337],{},[280,1335,1336],{},"blob(name, config?)"," - BLOB column",[1122,1339,1340,1343],{},[280,1341,1342],{},"boolean(name)"," - BOOLEAN column",[1122,1345,1346,1349],{},[280,1347,1348],{},"numeric(name, config?)"," - NUMERIC column",[1122,1351,1352,1355],{},[280,1353,1354],{},"enumType(name, values)"," - ENUM column",[243,1357,1359],{"id":1358},"aggregate-functions","Aggregate Functions",[1119,1361,1362,1368,1374,1380,1386,1392,1398],{},[1122,1363,1364,1367],{},[280,1365,1366],{},"count(column?)"," - COUNT",[1122,1369,1370,1373],{},[280,1371,1372],{},"countDistinct(column)"," - COUNT DISTINCT",[1122,1375,1376,1379],{},[280,1377,1378],{},"sum(column)"," - SUM",[1122,1381,1382,1385],{},[280,1383,1384],{},"avg(column)"," - AVG",[1122,1387,1388,1391],{},[280,1389,1390],{},"min(column)"," - MIN",[1122,1393,1394,1397],{},[280,1395,1396],{},"max(column)"," - MAX",[1122,1399,1400,1403],{},[280,1401,1402],{},"groupConcat(column, separator?)"," - GROUP_CONCAT (SQLite-specific)",[243,1405,1407],{"id":1406},"subquery-helpers","Subquery Helpers",[1119,1409,1410,1416],{},[1122,1411,1412,1415],{},[280,1413,1414],{},"subquery(query)"," - Convert query to subquery",[1122,1417,1418,1421],{},[280,1419,1420],{},"scalarSubquery(query)"," - Scalar subquery for comparisons",[243,1423,1425],{"id":1424},"utility-functions","Utility Functions",[1119,1427,1428,1441,1447,1453,1459,1465,1471,1477,1483,1489],{},[1122,1429,1430,1433,1434,1437,1438],{},[280,1431,1432],{},"asTauriDatabase(db)"," - Type assertion for ",[280,1435,1436],{},"@tauri-apps/plugin-sql"," Database when TypeScript reports structural incompatibility. Use: ",[280,1439,1440],{},"new TauriORM(asTauriDatabase(dbInstance), schema)",[1122,1442,1443,1446],{},[280,1444,1445],{},"sql"," - Raw SQL template literal",[1122,1448,1449,1452],{},[280,1450,1451],{},"asc(column)"," - Ascending sort helper",[1122,1454,1455,1458],{},[280,1456,1457],{},"desc(column)"," - Descending sort helper",[1122,1460,1461,1464],{},[280,1462,1463],{},"relations(table, callback)"," - Define table relations (v1)",[1122,1466,1467,1470],{},[280,1468,1469],{},"defineRelations(schema, callback)"," - Define all relations in one place (v2, from/to, many-without-one, through)",[1122,1472,1473,1476],{},[280,1474,1475],{},"defineRelationsPart(schema, callback)"," - Define a part of relations for large schemas",[1122,1478,1479,1482],{},[280,1480,1481],{},"through(column, junctionColumn, junctionTable)"," - Many-to-many via junction table",[1122,1484,1485,1488],{},[280,1486,1487],{},"optional: false"," - One relation required at type level",[1122,1490,1491,1494],{},[280,1492,1493],{},"where: (alias) => Condition"," - Predefined filter on many relations",[243,1496,1498],{"id":1497},"type-helpers","Type Helpers",[1119,1500,1501,1507,1513],{},[1122,1502,1503,1506],{},[280,1504,1505],{},"InferSelectModel\u003CT>"," - Infer SELECT result type",[1122,1508,1509,1512],{},[280,1510,1511],{},"InferInsertModel\u003CT>"," - Infer INSERT data type",[1122,1514,1515,1518,1519],{},[280,1516,1517],{},"InferRelationalSelectModel\u003CTTable, TRelations, TWith, TAllRelations?>"," - Infer SELECT result type with relations from ",[280,1520,1521],{},".include(with)",[243,1523,1525],{"id":1524},"error-classes","Error Classes",[1119,1527,1528,1534,1540,1546,1552,1558,1564,1570,1576,1582],{},[1122,1529,1530,1533],{},[280,1531,1532],{},"TauriORMError"," - Base error class",[1122,1535,1536,1539],{},[280,1537,1538],{},"QueryBuilderError"," - Query building errors",[1122,1541,1542,1545],{},[280,1543,1544],{},"MissingWhereClauseError"," - Missing WHERE clause",[1122,1547,1548,1551],{},[280,1549,1550],{},"ValidationError"," - Validation errors",[1122,1553,1554,1557],{},[280,1555,1556],{},"InsertValidationError"," - Insert validation errors",[1122,1559,1560,1563],{},[280,1561,1562],{},"UpdateValidationError"," - Update validation errors",[1122,1565,1566,1569],{},[280,1567,1568],{},"ColumnNotFoundError"," - Column not found",[1122,1571,1572,1575],{},[280,1573,1574],{},"TableNotFoundError"," - Table not found",[1122,1577,1578,1581],{},[280,1579,1580],{},"MigrationError"," - Migration errors",[1122,1583,1584,1587],{},[280,1585,1586],{},"RelationError"," - Relation errors",{"title":1589,"searchDepth":1590,"depth":1590,"links":1591},"",2,[1592,1597,1598,1599,1600,1601,1609,1610,1611,1612,1613,1614],{"id":245,"depth":1590,"text":246,"children":1593},[1594,1596],{"id":250,"depth":1595,"text":251},3,{"id":353,"depth":1595,"text":354},{"id":446,"depth":1590,"text":447},{"id":724,"depth":1590,"text":725},{"id":853,"depth":1590,"text":854},{"id":1004,"depth":1590,"text":1005},{"id":1112,"depth":1590,"text":1113,"children":1602},[1603,1604,1605,1606,1607,1608],{"id":1116,"depth":1595,"text":1117},{"id":1166,"depth":1595,"text":1167},{"id":1190,"depth":1595,"text":1191},{"id":1226,"depth":1595,"text":1227},{"id":1244,"depth":1595,"text":1245},{"id":1262,"depth":1595,"text":1263},{"id":1310,"depth":1590,"text":1311},{"id":1358,"depth":1590,"text":1359},{"id":1406,"depth":1590,"text":1407},{"id":1424,"depth":1590,"text":1425},{"id":1497,"depth":1590,"text":1498},{"id":1524,"depth":1590,"text":1525},"Quick reference for all ORM methods and functions","md",null,{},{"icon":236},{"title":233,"description":1615},"rV2YDHoOn1U-WYPWiYDSsdeQSxTt6XGwc6utm4er5h4",[1623,1617],{"title":229,"path":230,"stem":231,"description":1624,"children":-1},"Using subqueries and aggregate functions",1773317298789]