[{"data":1,"prerenderedAt":1258},["ShallowReactive",2],{"fougere:post.list:{}":3,"docs:\u002Fdocs\u002Fdata\u002Fstorage":6,"docs-uses":951,"docs-nav":1120},{"items":4,"hasMore":5},[],false,{"id":7,"title":8,"body":9,"description":938,"extension":939,"forms":940,"kind":941,"meta":942,"navigation":167,"path":943,"seo":944,"stem":945,"step":946,"uses":947,"__hash__":950},"docs\u002Fdocs\u002F3.data\u002F1.storage.md","Store your data",{"type":10,"value":11,"toc":930},"minimark",[12,25,30,33,126,129,260,267,273,403,412,433,438,461,496,500,503,511,526,530,533,653,659,675,698,702,711,883,919,926],[13,14,15,16,20,21,24],"p",{},"Data stays in memory until you name a database, and the boot warns you so. One entry in ",[17,18,19],"code",{},"sources:","\nputs it in SQLite or Postgres, and ",[17,22,23],{},"fougere migrate"," writes the tables.",[26,27,29],"h2",{"id":28},"name-the-database","Name the database",[13,31,32],{},"Install the adapter and the driver of your engine:",[34,35,39,71,90,108],"code-group",{"className":36,"sync":38},[37],"managers","pm",[40,41,47],"pre",{"className":42,"code":43,"filename":44,"language":45,"meta":46,"style":46},"language-bash shiki shiki-themes material-theme-lighter fougere-pastel material-theme-palenight","npm install @fougere\u002Fadapter-sql better-sqlite3   # SQLite — pg, mysql2, or tedious tarn for the others\n","npm","bash","",[17,48,49],{"__ignoreMap":46},[50,51,54,57,61,64,67],"span",{"class":52,"line":53},"line",1,[50,55,44],{"class":56},"sV8pK",[50,58,60],{"class":59},"sN-8n"," install",[50,62,63],{"class":59}," @fougere\u002Fadapter-sql",[50,65,66],{"class":59}," better-sqlite3",[50,68,70],{"class":69},"skXKP","   # SQLite — pg, mysql2, or tedious tarn for the others\n",[40,72,75],{"className":42,"code":73,"filename":74,"language":45,"meta":46,"style":46},"pnpm add @fougere\u002Fadapter-sql better-sqlite3   # SQLite — pg, mysql2, or tedious tarn for the others\n","pnpm",[17,76,77],{"__ignoreMap":46},[50,78,79,81,84,86,88],{"class":52,"line":53},[50,80,74],{"class":56},[50,82,83],{"class":59}," add",[50,85,63],{"class":59},[50,87,66],{"class":59},[50,89,70],{"class":69},[40,91,94],{"className":42,"code":92,"filename":93,"language":45,"meta":46,"style":46},"bun add @fougere\u002Fadapter-sql better-sqlite3   # SQLite — pg, mysql2, or tedious tarn for the others\n","bun",[17,95,96],{"__ignoreMap":46},[50,97,98,100,102,104,106],{"class":52,"line":53},[50,99,93],{"class":56},[50,101,83],{"class":59},[50,103,63],{"class":59},[50,105,66],{"class":59},[50,107,70],{"class":69},[40,109,112],{"className":42,"code":110,"filename":111,"language":45,"meta":46,"style":46},"yarn add @fougere\u002Fadapter-sql better-sqlite3   # SQLite — pg, mysql2, or tedious tarn for the others\n","yarn",[17,113,114],{"__ignoreMap":46},[50,115,116,118,120,122,124],{"class":52,"line":53},[50,117,111],{"class":56},[50,119,83],{"class":59},[50,121,63],{"class":59},[50,123,66],{"class":59},[50,125,70],{"class":69},[13,127,128],{},"Then name the database:",[40,130,134],{"className":131,"code":132,"language":133,"meta":46,"style":46},"language-ts shiki shiki-themes material-theme-lighter fougere-pastel material-theme-palenight","\u002F\u002F fougere.config.ts\nimport '@fougere\u002Fadapter-sql';\n\nexport default defineFougere({\n  sources: {\n    main: { type: 'sqlite', path: '.data\u002Fapp.db' },\n  },\n});\n","ts",[17,135,136,141,162,169,189,202,243,249],{"__ignoreMap":46},[50,137,138],{"class":52,"line":53},[50,139,140],{"class":69},"\u002F\u002F fougere.config.ts\n",[50,142,144,148,152,155,158],{"class":52,"line":143},2,[50,145,147],{"class":146},"sK6XW","import",[50,149,151],{"class":150},"sDDC1"," '",[50,153,154],{"class":59},"@fougere\u002Fadapter-sql",[50,156,157],{"class":150},"'",[50,159,161],{"class":160},"s15xx",";\n",[50,163,165],{"class":52,"line":164},3,[50,166,168],{"emptyLinePlaceholder":167},true,"\n",[50,170,172,175,178,182,186],{"class":52,"line":171},4,[50,173,174],{"class":146},"export",[50,176,177],{"class":146}," default",[50,179,181],{"class":180},"s4mR9"," defineFougere",[50,183,185],{"class":184},"srlTG","(",[50,187,188],{"class":160},"{\n",[50,190,192,196,199],{"class":52,"line":191},5,[50,193,195],{"class":194},"sHtqg","  sources",[50,197,198],{"class":160},":",[50,200,201],{"class":160}," {\n",[50,203,205,208,210,213,216,218,220,223,225,228,231,233,235,238,240],{"class":52,"line":204},6,[50,206,207],{"class":194},"    main",[50,209,198],{"class":160},[50,211,212],{"class":160}," {",[50,214,215],{"class":194}," type",[50,217,198],{"class":160},[50,219,151],{"class":150},[50,221,222],{"class":59},"sqlite",[50,224,157],{"class":150},[50,226,227],{"class":160},",",[50,229,230],{"class":194}," path",[50,232,198],{"class":160},[50,234,151],{"class":150},[50,236,237],{"class":59},".data\u002Fapp.db",[50,239,157],{"class":150},[50,241,242],{"class":160}," },\n",[50,244,246],{"class":52,"line":245},7,[50,247,248],{"class":160},"  },\n",[50,250,252,255,258],{"class":52,"line":251},8,[50,253,254],{"class":160},"}",[50,256,257],{"class":184},")",[50,259,161],{"class":160},[13,261,262,263,266],{},"The entry with no ",[17,264,265],{},"rows:"," list holds every entity. Your handlers do not change: where data lives is a\nfact about the app, not about the code that uses them.",[13,268,269,272],{},[17,270,271],{},"type:"," names the engine, and the keys beside it belong to that engine:",[274,275,276,294],"table",{},[277,278,279],"thead",{},[280,281,282,288,291],"tr",{},[283,284,285],"th",{},[17,286,287],{},"type",[283,289,290],{},"Says",[283,292,293],{},"Imported from",[295,296,297,313,336,353,373,388],"tbody",{},[280,298,299,304,309],{},[300,301,302],"td",{},[17,303,222],{},[300,305,306],{},[17,307,308],{},"path",[300,310,311],{},[17,312,154],{},[280,314,315,327,332],{},[300,316,317,320,321,320,324],{},[17,318,319],{},"pg",", ",[17,322,323],{},"mysql",[17,325,326],{},"mssql",[300,328,329],{},[17,330,331],{},"url",[300,333,334],{},[17,335,154],{},[280,337,338,343,349],{},[300,339,340],{},[17,341,342],{},"d1",[300,344,345,348],{},[17,346,347],{},"binding"," — the Worker's D1 binding",[300,350,351],{},[17,352,154],{},[280,354,355,360,368],{},[300,356,357],{},[17,358,359],{},"file",[300,361,362,320,364,367],{},[17,363,308],{},[17,365,366],{},"format"," — one JSON or YAML file per record",[300,369,370],{},[17,371,372],{},"@fougere\u002Fadapter-file",[280,374,375,380,383],{},[300,376,377],{},[17,378,379],{},"memory",[300,381,382],{},"nothing — a Map",[300,384,385],{},[17,386,387],{},"@fougere\u002Fadapter-memory",[280,389,390,395,398],{},[300,391,392],{},[17,393,394],{},"env",[300,396,397],{},"nothing — the environment, read only",[300,399,400],{},[17,401,402],{},"@fougere\u002Fadapter-env",[13,404,405,406,411],{},"Every key of every type, read off the code: ",[407,408,410],"a",{"href":409},"\u002Freference\u002Fsources","Source types",".",[13,413,414,418,419,422,423,426,427,430,431,411],{},[415,416,417],"strong",{},"The import is what makes the word exist."," Without it, the editor refuses the entry and the boot\nanswers ",[17,420,421],{},"Unknown source type … To add one, import the adapter that provides it",". A misspelled key —\n",[17,424,425],{},"pathh"," — is refused by both, by name, and so is ",[17,428,429],{},"{ type: 'pg' }"," without a ",[17,432,331],{},[434,435,437],"h3",{"id":436},"install-the-driver","Install the driver",[13,439,440,442,443,446,447,320,449,452,453,456,457,460],{},[17,441,154],{}," loads on any runtime — Node, Bun, Deno, a Worker — and an engine loads its\ndriver only when it opens: ",[17,444,445],{},"better-sqlite3"," for SQLite, ",[17,448,319],{},[17,450,451],{},"mysql2",", or ",[17,454,455],{},"tedious"," and ",[17,458,459],{},"tarn",",\ninstalled by your app. A missing driver is refused with the command that adds it. Kysely comes with\nthe adapter.",[462,463,464,482],"ul",{},[465,466,467,468,320,471,474,475,478,479,481],"li",{},"Under ",[415,469,470],{},"Bun",[17,472,473],{},"type: 'sqlite'"," opens with ",[17,476,477],{},"bun:sqlite",", since ",[17,480,445],{}," does not load there.",[465,483,484,485,320,488,491,492,495],{},"On a ",[415,486,487],{},"Worker",[17,489,490],{},"type: 'd1'"," reads its binding from ",[17,493,494],{},"cloudflare:workers"," at the first query.",[26,497,499],{"id":498},"create-the-tables","Create the tables",[13,501,502],{},"The boot never writes the schema. It compares the database with the entities and refuses to start\nwhen the database is behind, naming what is missing:",[40,504,509],{"className":505,"code":507,"language":508},[506],"language-text","Fougere boot refused: the database is missing 1 change(s) from the entities:\n  products — no table\n  On your machine: fougere migrate --latest --apply\n  On a shared database: fougere freeze, then fougere migrate --apply\n","text",[17,510,507],{"__ignoreMap":46},[13,512,513,514,517,518,521,522,525],{},"On your machine, ",[17,515,516],{},"fougere migrate --latest --apply"," creates the tables. Keep it as a script beside\nthe others — ",[17,519,520],{},"\"migrate\": \"fougere migrate --latest --apply\""," in ",[17,523,524],{},"package.json"," — and run it again each\ntime an entity gains a field; the boot tells you when.",[26,527,529],{"id":528},"change-a-field","Change a field",[13,531,532],{},"A rename is declared on the entity, and the data follows:",[40,534,536],{"className":131,"code":535,"language":133,"meta":46,"style":46},"export default class Product extends entity(\n  { id: primary(), name: text(), cents: number({ min: 0 }) },\n  { previous: { name: 'title' } },\n) {}\n",[17,537,538,561,620,646],{"__ignoreMap":46},[50,539,540,542,544,548,552,555,558],{"class":52,"line":53},[50,541,174],{"class":146},[50,543,177],{"class":146},[50,545,547],{"class":546},"s76I7"," class",[50,549,551],{"class":550},"sBZYL"," Product",[50,553,554],{"class":546}," extends",[50,556,557],{"class":180}," entity",[50,559,560],{"class":184},"(\n",[50,562,563,566,569,571,574,577,579,582,584,587,589,591,594,596,599,601,604,607,609,613,616,618],{"class":52,"line":143},[50,564,565],{"class":160},"  {",[50,567,568],{"class":194}," id",[50,570,198],{"class":160},[50,572,573],{"class":180}," primary",[50,575,576],{"class":184},"()",[50,578,227],{"class":160},[50,580,581],{"class":194}," name",[50,583,198],{"class":160},[50,585,586],{"class":180}," text",[50,588,576],{"class":184},[50,590,227],{"class":160},[50,592,593],{"class":194}," cents",[50,595,198],{"class":160},[50,597,598],{"class":180}," number",[50,600,185],{"class":184},[50,602,603],{"class":160},"{",[50,605,606],{"class":194}," min",[50,608,198],{"class":160},[50,610,612],{"class":611},"s3dPA"," 0",[50,614,615],{"class":160}," }",[50,617,257],{"class":184},[50,619,242],{"class":160},[50,621,622,624,627,629,631,633,635,637,640,642,644],{"class":52,"line":164},[50,623,565],{"class":160},[50,625,626],{"class":194}," previous",[50,628,198],{"class":160},[50,630,212],{"class":160},[50,632,581],{"class":194},[50,634,198],{"class":160},[50,636,151],{"class":150},[50,638,639],{"class":59},"title",[50,641,157],{"class":150},[50,643,615],{"class":160},[50,645,242],{"class":160},[50,647,648,650],{"class":52,"line":171},[50,649,257],{"class":184},[50,651,652],{"class":160}," {}\n",[13,654,655,658],{},[17,656,657],{},"npm run migrate"," renames the column on your database. Before the change leaves your machine, freeze it:",[40,660,662],{"className":42,"code":661,"language":45,"meta":46,"style":46},"fougere freeze v2\n",[17,663,664],{"__ignoreMap":46},[50,665,666,669,672],{"class":52,"line":53},[50,667,668],{"class":56},"fougere",[50,670,671],{"class":59}," freeze",[50,673,674],{"class":59}," v2\n",[13,676,677,678,681,682,685,686,689,690,693,694,411],{},"A deployment runs ",[17,679,680],{},"fougere migrate --apply",", which applies only what was frozen — a change nobody\nfroze is refused there, by name. A field removed without ",[17,683,684],{},"previous:"," is dropped: ",[17,687,688],{},"fougere freeze","\nwarns that its column, and its data, go at the next ",[17,691,692],{},"migrate",". The whole story:\n",[407,695,697],{"href":696},"\u002Fdocs\u002Fdata\u002Fevolve","Evolve a schema",[26,699,701],{"id":700},"use-several-databases","Use several databases",[13,703,704,705,707,708,710],{},"Each further entry lists the entities it holds in ",[17,706,265],{},"; the one without ",[17,709,265],{}," keeps the rest:",[40,712,714],{"className":131,"code":713,"language":133,"meta":46,"style":46},"sources: {\n  main:    { type: 'sqlite', path: '.data\u002Fapp.db' },\n  archive: { type: 'file', path: '.\u002Frows', rows: ['Snapshot'] },   \u002F\u002F import '@fougere\u002Fadapter-file'\n  legacy:  { type: 'pg', url: process.env.DATABASE_URL, rows: ['Book'] },\n},\n",[17,715,716,726,760,819,878],{"__ignoreMap":46},[50,717,718,722,724],{"class":52,"line":53},[50,719,721],{"class":720},"sWI7z","sources",[50,723,198],{"class":160},[50,725,201],{"class":160},[50,727,728,731,733,736,738,740,742,744,746,748,750,752,754,756,758],{"class":52,"line":143},[50,729,730],{"class":720},"  main",[50,732,198],{"class":160},[50,734,735],{"class":160},"    {",[50,737,215],{"class":720},[50,739,198],{"class":160},[50,741,151],{"class":150},[50,743,222],{"class":59},[50,745,157],{"class":150},[50,747,227],{"class":160},[50,749,230],{"class":720},[50,751,198],{"class":160},[50,753,151],{"class":150},[50,755,237],{"class":59},[50,757,157],{"class":150},[50,759,242],{"class":160},[50,761,762,765,767,769,771,773,775,777,779,781,783,785,787,790,792,794,797,799,803,805,808,810,813,816],{"class":52,"line":164},[50,763,764],{"class":720},"  archive",[50,766,198],{"class":160},[50,768,212],{"class":160},[50,770,215],{"class":720},[50,772,198],{"class":160},[50,774,151],{"class":150},[50,776,359],{"class":59},[50,778,157],{"class":150},[50,780,227],{"class":160},[50,782,230],{"class":720},[50,784,198],{"class":160},[50,786,151],{"class":150},[50,788,789],{"class":59},".\u002Frows",[50,791,157],{"class":150},[50,793,227],{"class":160},[50,795,796],{"class":720}," rows",[50,798,198],{"class":160},[50,800,802],{"class":801},"spAFX"," [",[50,804,157],{"class":150},[50,806,807],{"class":59},"Snapshot",[50,809,157],{"class":150},[50,811,812],{"class":801},"]",[50,814,815],{"class":160}," },",[50,817,818],{"class":69},"   \u002F\u002F import '@fougere\u002Fadapter-file'\n",[50,820,821,824,826,828,830,832,834,836,838,840,843,845,849,851,854,856,859,861,863,865,867,869,872,874,876],{"class":52,"line":171},[50,822,823],{"class":720},"  legacy",[50,825,198],{"class":160},[50,827,565],{"class":160},[50,829,215],{"class":720},[50,831,198],{"class":160},[50,833,151],{"class":150},[50,835,319],{"class":59},[50,837,157],{"class":150},[50,839,227],{"class":160},[50,841,842],{"class":720}," url",[50,844,198],{"class":160},[50,846,848],{"class":847},"sPEhv"," process",[50,850,411],{"class":160},[50,852,394],{"class":853},"sy9f4",[50,855,411],{"class":160},[50,857,858],{"class":853},"DATABASE_URL",[50,860,227],{"class":160},[50,862,796],{"class":720},[50,864,198],{"class":160},[50,866,802],{"class":801},[50,868,157],{"class":150},[50,870,871],{"class":59},"Book",[50,873,157],{"class":150},[50,875,812],{"class":801},[50,877,242],{"class":160},[50,879,880],{"class":52,"line":191},[50,881,882],{"class":160},"},\n",[462,884,885,891,897,912],{},[465,886,887,888,890],{},"Two entries without ",[17,889,265],{}," refuse the boot: nothing would say which holds the rest.",[465,892,893,894,896],{},"When every entry lists its ",[17,895,265],{},", an entity left out of all of them refuses the boot, by name.",[465,898,899,900,903,904,908,909,911],{},"An entry may list ",[17,901,902],{},"values:"," — entities kept as one value each: see ",[407,905,907],{"href":906},"\u002Fdocs\u002Fdata\u002Fvalues","Values",".\nA source nothing is written to, such as ",[17,910,394],{},", never holds the rest.",[465,913,914,915,918],{},"A view gets no table unless it says ",[17,916,917],{},".anchor()",", on the entity — never in this file.",[13,920,921,922,411],{},"Querying across databases, and two fronds sharing a table: ",[407,923,925],{"href":924},"\u002Fdocs\u002Fdata\u002Fseveral-databases","Several databases",[927,928,929],"style",{},"html pre.shiki code .sV8pK, html code.shiki .sV8pK{--shiki-light:#E2931D;--shiki-default:#C9B6EA;--shiki-dark:#FFCB6B}html pre.shiki code .sN-8n, html code.shiki .sN-8n{--shiki-light:#91B859;--shiki-default:#EE9F6B;--shiki-dark:#C3E88D}html pre.shiki code .skXKP, html code.shiki .skXKP{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#7D8C80;--shiki-default-font-style:inherit;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sK6XW, html code.shiki .sK6XW{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#8FCF86;--shiki-default-font-style:inherit;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sDDC1, html code.shiki .sDDC1{--shiki-light:#39ADB5;--shiki-default:#EE9F6B;--shiki-dark:#89DDFF}html pre.shiki code .s15xx, html code.shiki .s15xx{--shiki-light:#39ADB5;--shiki-default:#A3B0A5;--shiki-dark:#89DDFF}html pre.shiki code .s4mR9, html code.shiki .s4mR9{--shiki-light:#6182B8;--shiki-default:#C9B6EA;--shiki-dark:#82AAFF}html pre.shiki code .srlTG, html code.shiki .srlTG{--shiki-light:#90A4AE;--shiki-default:#A3B0A5;--shiki-dark:#BABED8}html pre.shiki code .sHtqg, html code.shiki .sHtqg{--shiki-light:#E53935;--shiki-default:#93CFC0;--shiki-dark:#F07178}html pre.shiki code .s76I7, html code.shiki .s76I7{--shiki-light:#9C3EDA;--shiki-default:#8FCF86;--shiki-dark:#C792EA}html pre.shiki code .sBZYL, html code.shiki .sBZYL{--shiki-light:#E2931D;--shiki-default:#EFCD8F;--shiki-dark:#FFCB6B}html pre.shiki code .s3dPA, html code.shiki .s3dPA{--shiki-light:#F76D47;--shiki-default:#EE9F6B;--shiki-dark:#F78C6C}html pre.shiki code .sWI7z, html code.shiki .sWI7z{--shiki-light:#E2931D;--shiki-default:#93CFC0;--shiki-dark:#FFCB6B}html pre.shiki code .spAFX, html code.shiki .spAFX{--shiki-light:#E53935;--shiki-default:#A3B0A5;--shiki-dark:#F07178}html pre.shiki code .sPEhv, html code.shiki .sPEhv{--shiki-light:#90A4AE;--shiki-default:#DDE5DA;--shiki-dark:#BABED8}html pre.shiki code .sy9f4, html code.shiki .sy9f4{--shiki-light:#90A4AE;--shiki-default:#93CFC0;--shiki-dark:#BABED8}",{"title":46,"searchDepth":143,"depth":143,"links":931},[932,935,936,937],{"id":28,"depth":143,"text":29,"children":933},[934],{"id":436,"depth":164,"text":437},{"id":498,"depth":143,"text":499},{"id":528,"depth":143,"text":529},{"id":700,"depth":143,"text":701},"Your data in a database, and the migration you apply.","md",[19,23],"task",{},"\u002Fdocs\u002Fdata\u002Fstorage",{"title":8,"description":938},"docs\u002F3.data\u002F1.storage",null,[948,949],"entity","configuration","-nqKsyM5IQSXWDhul7GqYTnPQIq6Bk9uvwo7vyXGBPs",[952,955,958,961,964,967,970,973,976,982,987,989,991,995,997,1001,1004,1009,1013,1017,1022,1026,1031,1035,1039,1043,1047,1051,1055,1059,1063,1067,1071,1075,1079,1083,1087,1090,1093,1096,1099,1102,1105,1108,1111,1114,1117],{"path":953,"title":954,"uses":946},"\u002Fdocs\u002Fconcepts\u002Fentity","Entity",{"path":956,"title":957,"uses":946},"\u002Fdocs\u002Fconcepts\u002Fhandler","Handler",{"path":959,"title":960,"uses":946},"\u002Fdocs\u002Fconcepts\u002Frepository","Repository",{"path":962,"title":963,"uses":946},"\u002Fdocs\u002Fconcepts\u002Ffrond","Frond",{"path":965,"title":966,"uses":946},"\u002Fdocs\u002Fconcepts\u002Ffacade","Facade",{"path":968,"title":969,"uses":946},"\u002Fdocs\u002Fconcepts\u002Ffact","Fact",{"path":971,"title":972,"uses":946},"\u002Fdocs\u002Fconcepts\u002Fport","Port",{"path":974,"title":975,"uses":946},"\u002Fdocs\u002Fconcepts\u002Fconfiguration","Configuration",{"path":977,"title":978,"uses":979},"\u002Fdocs\u002Faccess\u002Fauthentication","Authentication",[980,981],"port","frond",{"path":983,"title":984,"uses":985},"\u002Fdocs\u002Faccess\u002Fstate","Keep a caller's state",[949,986],"handler",{"path":943,"title":8,"uses":988},[948,949],{"path":924,"title":925,"uses":990},[949,948],{"path":992,"title":993,"uses":994},"\u002Fdocs\u002Fdata\u002Fcomputed-field","A computed field",[948,980],{"path":696,"title":697,"uses":996},[948],{"path":998,"title":999,"uses":1000},"\u002Fdocs\u002Fdata\u002Fseeds","Seed data",[948],{"path":906,"title":1002,"uses":1003},"Read settings and secrets",[948,949],{"path":1005,"title":1006,"uses":1007},"\u002Fdocs\u002Fdata\u002Fmirror","Mirror a source you cannot query",[1008],"repository",{"path":1010,"title":1011,"uses":1012},"\u002Fdocs\u002Fdata\u002Ftogether","Two writes as one",[1008],{"path":1014,"title":1015,"uses":1016},"\u002Fdocs\u002Fbehaviour\u002Faround-every-call","Around every call",[980,981],{"path":1018,"title":1019,"uses":1020},"\u002Fdocs\u002Fbehaviour\u002Ffinish-a-fact","Finish a fact",[1021],"fact",{"path":1023,"title":1024,"uses":1025},"\u002Fdocs\u002Fserve\u002Frest-graphql","REST, OpenAPI, GraphQL",[986,949],{"path":1027,"title":1028,"uses":1029},"\u002Fdocs\u002Fserve\u002Fpages","Pages: queries and commands",[986,1030],"facade",{"path":1032,"title":1033,"uses":1034},"\u002Fdocs\u002Fserve\u002Fforms","A form",[948],{"path":1036,"title":1037,"uses":1038},"\u002Fdocs\u002Fserve\u002Fadmin","An admin panel",[986],{"path":1040,"title":1041,"uses":1042},"\u002Fdocs\u002Frun\u002Fdeploy","Deploy a split",[949,981],{"path":1044,"title":1045,"uses":1046},"\u002Fdocs\u002Frun\u002Fsecure","Secure calls between processes",[949,981],{"path":1048,"title":1049,"uses":1050},"\u002Fdocs\u002Frun\u002Flifecycle","Reload and shut down",[949],{"path":1052,"title":1053,"uses":1054},"\u002Fdocs\u002Frun\u002Fobserve","Observe",[949,986],{"path":1056,"title":1057,"uses":1058},"\u002Fdocs\u002Frun\u002Fdev-panel","The dev panel",[986],{"path":1060,"title":1061,"uses":1062},"\u002Fdocs\u002Frun\u002Ftest","Test",[948,980],{"path":1064,"title":1065,"uses":1066},"\u002Fdocs\u002Frun\u002Fsplit-an-existing-app","Split an existing app",[981,1030,949],{"path":1068,"title":1069,"uses":1070},"\u002Fdocs\u002Fadopt\u002Fnew-project","Start a project",[981,949],{"path":1072,"title":1073,"uses":1074},"\u002Fdocs\u002Fadopt\u002Fan-app","Add Fougere to an app",[981,949],{"path":1076,"title":1077,"uses":1078},"\u002Fdocs\u002Fadopt\u002Fbring-your-schema","Bring your schema",[948],{"path":1080,"title":1081,"uses":1082},"\u002Fdocs\u002Fadopt\u002Fanother-repository","A frond from another repository",[1030,981],{"path":1084,"title":1085,"uses":1086},"\u002Fdocs\u002Fadopt\u002Fdemos","Demos",[],{"path":1088,"title":1089,"uses":946},"\u002Fdocs\u002Fextending\u002Fscan","How the scan reads a project",{"path":1091,"title":1092,"uses":946},"\u002Fdocs\u002Fextending\u002Fwithout-compiler","Boot without the compiler",{"path":1094,"title":1095,"uses":946},"\u002Fdocs\u002Fextending\u002Fboot","The boot, step by step",{"path":1097,"title":1098,"uses":946},"\u002Fdocs\u002Fextending\u002Fcard-and-wire","The card and the wire",{"path":1100,"title":1101,"uses":946},"\u002Fdocs\u002Fextending\u002Fextension-points","Registries and extension points",{"path":1103,"title":1104,"uses":946},"\u002Fdocs\u002Fextending\u002Fvocabulary","Teach a word",{"path":1106,"title":1107,"uses":946},"\u002Fdocs\u002Fextending\u002Fextensions","Run code at boot and shutdown",{"path":1109,"title":1110,"uses":946},"\u002Fdocs\u002Fextending\u002Fsource-adapter","Write a source adapter",{"path":1112,"title":1113,"uses":946},"\u002Fdocs\u002Fextending\u002Fsurface","Write a surface",{"path":1115,"title":1116,"uses":946},"\u002Fdocs\u002Fextending\u002Fforeign-frond","A frond in another language",{"path":1118,"title":1119,"uses":946},"\u002Fdocs","What is Fougere",[1121],{"title":1122,"path":1118,"stem":1123,"children":1124,"page":-1},"Docs","docs",[1125,1127,1148,1157,1177,1186,1199,1218,1233],{"title":1119,"path":1118,"stem":1126},"docs\u002Findex",{"title":1128,"path":1129,"stem":1130,"children":1131,"page":5},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002F1.concepts",[1132,1134,1136,1138,1140,1142,1144,1146],{"title":954,"path":953,"stem":1133},"docs\u002F1.concepts\u002F1.entity",{"title":957,"path":956,"stem":1135},"docs\u002F1.concepts\u002F2.handler",{"title":960,"path":959,"stem":1137},"docs\u002F1.concepts\u002F3.repository",{"title":963,"path":962,"stem":1139},"docs\u002F1.concepts\u002F4.frond",{"title":966,"path":965,"stem":1141},"docs\u002F1.concepts\u002F5.facade",{"title":969,"path":968,"stem":1143},"docs\u002F1.concepts\u002F6.fact",{"title":972,"path":971,"stem":1145},"docs\u002F1.concepts\u002F7.port",{"title":975,"path":974,"stem":1147},"docs\u002F1.concepts\u002F8.configuration",{"title":1149,"path":1150,"stem":1151,"children":1152,"page":5},"Access","\u002Fdocs\u002Faccess","docs\u002F2.access",[1153,1155],{"title":978,"path":977,"stem":1154},"docs\u002F2.access\u002F1.authentication",{"title":984,"path":983,"stem":1156},"docs\u002F2.access\u002F2.state",{"title":1158,"path":1159,"stem":1160,"children":1161,"page":5},"Data","\u002Fdocs\u002Fdata","docs\u002F3.data",[1162,1163,1165,1167,1169,1171,1173,1175],{"title":8,"path":943,"stem":945},{"title":925,"path":924,"stem":1164},"docs\u002F3.data\u002F2.several-databases",{"title":993,"path":992,"stem":1166},"docs\u002F3.data\u002F3.computed-field",{"title":697,"path":696,"stem":1168},"docs\u002F3.data\u002F4.evolve",{"title":999,"path":998,"stem":1170},"docs\u002F3.data\u002F5.seeds",{"title":1002,"path":906,"stem":1172},"docs\u002F3.data\u002F6.values",{"title":1006,"path":1005,"stem":1174},"docs\u002F3.data\u002F7.mirror",{"title":1011,"path":1010,"stem":1176},"docs\u002F3.data\u002F8.together",{"title":1178,"path":1179,"stem":1180,"children":1181,"page":5},"Behaviour","\u002Fdocs\u002Fbehaviour","docs\u002F4.behaviour",[1182,1184],{"title":1015,"path":1014,"stem":1183},"docs\u002F4.behaviour\u002F1.around-every-call",{"title":1019,"path":1018,"stem":1185},"docs\u002F4.behaviour\u002F2.finish-a-fact",{"title":1187,"path":1188,"stem":1189,"children":1190,"page":5},"Serve","\u002Fdocs\u002Fserve","docs\u002F5.serve",[1191,1193,1195,1197],{"title":1024,"path":1023,"stem":1192},"docs\u002F5.serve\u002F1.rest-graphql",{"title":1028,"path":1027,"stem":1194},"docs\u002F5.serve\u002F2.pages",{"title":1033,"path":1032,"stem":1196},"docs\u002F5.serve\u002F3.forms",{"title":1037,"path":1036,"stem":1198},"docs\u002F5.serve\u002F4.admin",{"title":1200,"path":1201,"stem":1202,"children":1203,"page":5},"Run","\u002Fdocs\u002Frun","docs\u002F6.run",[1204,1206,1208,1210,1212,1214,1216],{"title":1041,"path":1040,"stem":1205},"docs\u002F6.run\u002F1.deploy",{"title":1045,"path":1044,"stem":1207},"docs\u002F6.run\u002F2.secure",{"title":1049,"path":1048,"stem":1209},"docs\u002F6.run\u002F3.lifecycle",{"title":1053,"path":1052,"stem":1211},"docs\u002F6.run\u002F4.observe",{"title":1057,"path":1056,"stem":1213},"docs\u002F6.run\u002F5.dev-panel",{"title":1061,"path":1060,"stem":1215},"docs\u002F6.run\u002F6.test",{"title":1065,"path":1064,"stem":1217},"docs\u002F6.run\u002F7.split-an-existing-app",{"title":1219,"path":1220,"stem":1221,"children":1222,"page":5},"Adopt","\u002Fdocs\u002Fadopt","docs\u002F7.adopt",[1223,1225,1227,1229,1231],{"title":1069,"path":1068,"stem":1224},"docs\u002F7.adopt\u002F1.new-project",{"title":1073,"path":1072,"stem":1226},"docs\u002F7.adopt\u002F2.an-app",{"title":1077,"path":1076,"stem":1228},"docs\u002F7.adopt\u002F3.bring-your-schema",{"title":1081,"path":1080,"stem":1230},"docs\u002F7.adopt\u002F5.another-repository",{"title":1085,"path":1084,"stem":1232},"docs\u002F7.adopt\u002F6.demos",{"title":1234,"path":1235,"stem":1236,"children":1237,"page":5},"Extending","\u002Fdocs\u002Fextending","docs\u002F8.extending",[1238,1240,1242,1244,1246,1248,1250,1252,1254,1256],{"title":1089,"path":1088,"stem":1239},"docs\u002F8.extending\u002F1.scan",{"title":1092,"path":1091,"stem":1241},"docs\u002F8.extending\u002F10.without-compiler",{"title":1095,"path":1094,"stem":1243},"docs\u002F8.extending\u002F2.boot",{"title":1098,"path":1097,"stem":1245},"docs\u002F8.extending\u002F3.card-and-wire",{"title":1101,"path":1100,"stem":1247},"docs\u002F8.extending\u002F4.extension-points",{"title":1104,"path":1103,"stem":1249},"docs\u002F8.extending\u002F5.vocabulary",{"title":1107,"path":1106,"stem":1251},"docs\u002F8.extending\u002F6.extensions",{"title":1110,"path":1109,"stem":1253},"docs\u002F8.extending\u002F7.source-adapter",{"title":1113,"path":1112,"stem":1255},"docs\u002F8.extending\u002F8.surface",{"title":1116,"path":1115,"stem":1257},"docs\u002F8.extending\u002F9.foreign-frond",1794951177613]