[{"data":1,"prerenderedAt":886},["ShallowReactive",2],{"navigation":3,"\u002Fguide\u002Fserver\u002Fadvanced":208,"\u002Fguide\u002Fserver\u002Fadvanced-surround":881},[4,98,175],{"title":5,"path":6,"stem":7,"children":8,"icon":97},"Guide","\u002Fguide","1.guide\u002F1.index",[9,12,17,22,46,61,79],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"Installation","\u002Fguide\u002Finstallation","1.guide\u002F2.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Quick start","\u002Fguide\u002Fquick-start","1.guide\u002F3.quick-start","i-lucide-rocket",{"title":23,"path":24,"stem":25,"children":26,"icon":45},"Server","\u002Fguide\u002Fserver","1.guide\u002F4.server\u002F1.index",[27,30,35,40],{"title":28,"path":24,"stem":25,"icon":29},"Usage","i-lucide-server",{"title":31,"path":32,"stem":33,"icon":34},"Config file","\u002Fguide\u002Fserver\u002Fconfig-file","1.guide\u002F4.server\u002F2.config-file","i-lucide-file-cog",{"title":36,"path":37,"stem":38,"icon":39},"Options","\u002Fguide\u002Fserver\u002Foptions","1.guide\u002F4.server\u002F3.options","i-lucide-settings",{"title":41,"path":42,"stem":43,"icon":44},"Advanced","\u002Fguide\u002Fserver\u002Fadvanced","1.guide\u002F4.server\u002F4.advanced","i-lucide-flask-conical",false,{"title":47,"path":48,"stem":49,"children":50,"icon":45},"Client","\u002Fguide\u002Fclient","1.guide\u002F5.client\u002F1.index",[51,53,58],{"title":28,"path":48,"stem":49,"icon":52},"i-lucide-monitor-smartphone",{"title":54,"path":55,"stem":56,"icon":57},"Live queries","\u002Fguide\u002Fclient\u002Flive-queries","1.guide\u002F5.client\u002F2.live-queries","i-lucide-radio",{"title":41,"path":59,"stem":60,"icon":44},"\u002Fguide\u002Fclient\u002Fadvanced","1.guide\u002F5.client\u002F3.advanced",{"title":62,"path":63,"stem":64,"children":65,"icon":45},"Development socket","\u002Fguide\u002Fsocket","1.guide\u002F6.socket\u002F1.index",[66,68,71,74],{"title":28,"path":63,"stem":64,"icon":67},"i-lucide-plug",{"title":36,"path":69,"stem":70,"icon":39},"\u002Fguide\u002Fsocket\u002Foptions","1.guide\u002F6.socket\u002F2.options",{"title":41,"path":72,"stem":73,"icon":44},"\u002Fguide\u002Fsocket\u002Fadvanced","1.guide\u002F6.socket\u002F3.advanced",{"title":75,"path":76,"stem":77,"icon":78},"PGlite in dev, Postgres in prod","\u002Fguide\u002Fsocket\u002Fdevelopment-only","1.guide\u002F6.socket\u002F4.development-only","i-lucide-cloud-upload",{"title":80,"path":81,"stem":82,"children":83,"icon":45},"DevTools & tooling","\u002Fguide\u002Fdevtools","1.guide\u002F7.devtools\u002F1.index",[84,87,92],{"title":85,"path":81,"stem":82,"icon":86},"DevTools tab","i-lucide-wrench",{"title":88,"path":89,"stem":90,"icon":91},"Actions","\u002Fguide\u002Fdevtools\u002Factions","1.guide\u002F7.devtools\u002F2.actions","i-lucide-zap",{"title":93,"path":94,"stem":95,"icon":96},"Terminal","\u002Fguide\u002Fdevtools\u002Fterminal","1.guide\u002F7.devtools\u002F3.terminal","i-lucide-square-terminal","i-lucide-book-open",{"title":99,"icon":100,"path":101,"stem":102,"children":103,"page":45},"Recipes","i-lucide-chef-hat","\u002Frecipes","2.recipes",[104,116,138,159,171],{"title":105,"path":106,"stem":107,"children":108,"icon":45},"Migrations","\u002Frecipes\u002Fmigrations","2.recipes\u002F1.migrations\u002F1.index",[109,111],{"title":28,"path":106,"stem":107,"icon":110},"i-lucide-database-backup",{"title":112,"path":113,"stem":114,"icon":115},"Edited migrations","\u002Frecipes\u002Fmigrations\u002Fedited-migrations","2.recipes\u002F1.migrations\u002F2.edited-migrations","i-lucide-file-diff",{"title":117,"path":118,"stem":119,"children":120,"icon":45},"Testing","\u002Frecipes\u002Ftesting","2.recipes\u002F2.testing\u002F1.index",[121,123,128,133],{"title":28,"path":118,"stem":119,"icon":122},"i-lucide-test-tube",{"title":124,"path":125,"stem":126,"icon":127},"Isolation","\u002Frecipes\u002Ftesting\u002Fisolation","2.recipes\u002F2.testing\u002F2.isolation","i-lucide-git-fork",{"title":129,"path":130,"stem":131,"icon":132},"vitest","\u002Frecipes\u002Ftesting\u002Fvitest","2.recipes\u002F2.testing\u002F3.vitest","i-simple-icons-vitest",{"title":134,"path":135,"stem":136,"icon":137},"@nuxt\u002Ftest-utils","\u002Frecipes\u002Ftesting\u002Fnuxt-test-utils","2.recipes\u002F2.testing\u002F4.nuxt-test-utils","i-simple-icons-nuxt",{"title":139,"path":140,"stem":141,"children":142,"icon":45},"Deploy","\u002Frecipes\u002Fdeploy","2.recipes\u002F3.deploy\u002F1.index",[143,144,149,154],{"title":139,"path":140,"stem":141},{"title":145,"path":146,"stem":147,"icon":148},"Any Postgres","\u002Frecipes\u002Fdeploy\u002Fpostgres","2.recipes\u002F3.deploy\u002F2.postgres","i-lucide-database",{"title":150,"path":151,"stem":152,"icon":153},"Netlify","\u002Frecipes\u002Fdeploy\u002Fnetlify","2.recipes\u002F3.deploy\u002F3.netlify","i-simple-icons-netlify",{"title":155,"path":156,"stem":157,"icon":158},"Neon","\u002Frecipes\u002Fdeploy\u002Fneon","2.recipes\u002F3.deploy\u002F4.neon","i-simple-icons-neon",{"title":160,"path":161,"stem":162,"children":163,"icon":45},"Outside Nuxt","\u002Frecipes\u002Foutside-nuxt","2.recipes\u002F4.outside-nuxt\u002F1.index",[164,167],{"title":165,"path":161,"stem":162,"icon":166},"Config and provider","i-lucide-package",{"title":168,"path":169,"stem":170,"icon":67},"Socket server","\u002Frecipes\u002Foutside-nuxt\u002Fsocket","2.recipes\u002F4.outside-nuxt\u002F2.socket",{"title":172,"path":173,"stem":174,"icon":67},"Nitro's useDatabase","\u002Frecipes\u002Fnitro-database","2.recipes\u002F5.nitro-database",{"title":176,"icon":177,"path":178,"stem":179,"children":180,"page":45},"Reference","i-lucide-code-xml","\u002Freference","3.reference",[181,185,189,193,198,203],{"title":182,"path":183,"stem":184,"icon":34},"Config files","\u002Freference\u002Fconfig-files","3.reference\u002F1.config-files",{"title":186,"path":187,"stem":188,"icon":39},"Module options","\u002Freference\u002Fmodule-options","3.reference\u002F2.module-options",{"title":190,"path":191,"stem":192,"icon":67},"Socket options","\u002Freference\u002Fsocket-options","3.reference\u002F3.socket-options",{"title":194,"path":195,"stem":196,"icon":197},"Exports","\u002Freference\u002Fexports","3.reference\u002F4.exports","i-lucide-boxes",{"title":199,"path":200,"stem":201,"icon":202},"Hooks","\u002Freference\u002Fhooks","3.reference\u002F5.hooks","i-lucide-anchor",{"title":204,"path":205,"stem":206,"icon":207},"Environment","\u002Freference\u002Fenvironment","3.reference\u002F6.environment","i-lucide-variable",{"id":209,"title":41,"body":210,"description":874,"extension":875,"links":876,"meta":877,"navigation":878,"path":42,"seo":879,"stem":43,"__hash__":880},"docs\u002F1.guide\u002F4.server\u002F4.advanced.md",{"type":211,"value":212,"toc":865},"minimark",[213,222,229,310,324,328,341,433,459,466,474,482,660,677,681,687,834,838,861],[214,215,217,218],"h2",{"id":216},"explicit-imports-pgliteserver","Explicit imports: ",[219,220,221],"code",{},"#pglite\u002Fserver",[223,224,225,226,228],"p",{},"Everything the server side auto-imports is also exported by ",[219,227,221],{},", for code that prefers explicit imports or a module building on this one:",[230,231,237],"pre",{"className":232,"code":233,"filename":234,"language":235,"meta":236,"style":236},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { pglite, usePGlite } from '#pglite\u002Fserver'\nimport type { PGliteConfig, PGliteInstanceFor, PGliteServerAction } from '#pglite\u002Fserver'\n","server\u002Futils\u002Fdb.ts","ts","",[219,238,239,277],{"__ignoreMap":236},[240,241,244,248,252,256,259,262,265,268,271,274],"span",{"class":242,"line":243},"line",1,[240,245,247],{"class":246},"s7zQu","import",[240,249,251],{"class":250},"sMK4o"," {",[240,253,255],{"class":254},"sTEyZ"," pglite",[240,257,258],{"class":250},",",[240,260,261],{"class":254}," usePGlite",[240,263,264],{"class":250}," }",[240,266,267],{"class":246}," from",[240,269,270],{"class":250}," '",[240,272,221],{"class":273},"sfazB",[240,275,276],{"class":250},"'\n",[240,278,280,282,285,287,290,292,295,297,300,302,304,306,308],{"class":242,"line":279},2,[240,281,247],{"class":246},[240,283,284],{"class":246}," type",[240,286,251],{"class":250},[240,288,289],{"class":254}," PGliteConfig",[240,291,258],{"class":250},[240,293,294],{"class":254}," PGliteInstanceFor",[240,296,258],{"class":250},[240,298,299],{"class":254}," PGliteServerAction",[240,301,264],{"class":250},[240,303,267],{"class":246},[240,305,270],{"class":250},[240,307,221],{"class":273},[240,309,276],{"class":250},[223,311,312,313,316,317,319,320,323],{},"The client side has the same name for ",[219,314,315],{},"usePGlite()",". Auto-imports resolve to the right one per context; ",[219,318,221],{}," and ",[219,321,322],{},"#pglite\u002Fclient"," pick one explicitly.",[214,325,327],{"id":326},"the-provider","The provider",[223,329,330,332,333,336,337,340],{},[219,331,315],{}," is a shortcut for ",[219,334,335],{},"pglite.use()",". The ",[219,338,339],{},"pglite"," provider holds the single instance of the process, since PGlite allows one instance per data directory:",[230,342,344],{"className":232,"code":343,"language":235,"meta":236,"style":236},"import { pglite } from '#pglite\u002Fserver'\n\nconst pg = await pglite.use() \u002F\u002F created on first call; concurrent callers share the creation\npglite.instance \u002F\u002F the instance if created and still open, otherwise undefined\nawait pglite.close() \u002F\u002F runs `dispose`, then closes; the next use() creates a new one\n",[219,345,346,364,370,402,415],{"__ignoreMap":236},[240,347,348,350,352,354,356,358,360,362],{"class":242,"line":243},[240,349,247],{"class":246},[240,351,251],{"class":250},[240,353,255],{"class":254},[240,355,264],{"class":250},[240,357,267],{"class":246},[240,359,270],{"class":250},[240,361,221],{"class":273},[240,363,276],{"class":250},[240,365,366],{"class":242,"line":279},[240,367,369],{"emptyLinePlaceholder":368},true,"\n",[240,371,373,377,380,383,386,388,391,395,398],{"class":242,"line":372},3,[240,374,376],{"class":375},"spNyl","const",[240,378,379],{"class":254}," pg ",[240,381,382],{"class":250},"=",[240,384,385],{"class":246}," await",[240,387,255],{"class":254},[240,389,390],{"class":250},".",[240,392,394],{"class":393},"s2Zo4","use",[240,396,397],{"class":254},"() ",[240,399,401],{"class":400},"sHwdD","\u002F\u002F created on first call; concurrent callers share the creation\n",[240,403,405,407,409,412],{"class":242,"line":404},4,[240,406,339],{"class":254},[240,408,390],{"class":250},[240,410,411],{"class":254},"instance ",[240,413,414],{"class":400},"\u002F\u002F the instance if created and still open, otherwise undefined\n",[240,416,418,421,423,425,428,430],{"class":242,"line":417},5,[240,419,420],{"class":246},"await",[240,422,255],{"class":254},[240,424,390],{"class":250},[240,426,427],{"class":393},"close",[240,429,397],{"class":254},[240,431,432],{"class":400},"\u002F\u002F runs `dispose`, then closes; the next use() creates a new one\n",[434,435,436,444,449],"ul",{},[437,438,439,440,443],"li",{},"A failed creation is not cached: the next ",[219,441,442],{},"use()"," tries again.",[437,445,446,447,390],{},"A closed instance is replaced on the next ",[219,448,442],{},[437,450,451,452,454,455,458],{},"A ",[219,453,442],{}," issued while ",[219,456,457],{},"close()"," runs waits for the close and gets a fresh instance.",[223,460,461,462,465],{},"The module calls ",[219,463,464],{},"pglite.close()"," when Nitro closes. Closing it yourself is useful in tests, or to release the data directory for another process.",[214,467,469,319,472],{"id":468},"init-and-usepglite",[219,470,471],{},"init",[219,473,315],{},[223,475,476,478,479,481],{},[219,477,471],{}," runs inside the creation of the instance. Calling ",[219,480,315],{}," from there would wait for itself, so it fails right away:",[230,483,486],{"className":232,"code":484,"filename":485,"language":235,"meta":236,"style":236},"export default definePGliteServerConfig({\n  init: async (pg) => {\n    await seed(pg) \u002F\u002F ✅ use the instance `init` receives\n  },\n})\n\nasync function seed(pg: { exec(sql: string): Promise\u003Cunknown> }) {\n  await pg.exec('INSERT INTO settings DEFAULT VALUES')\n  \u002F\u002F ❌ `await usePGlite()` here throws: \"The instance is still initialising…\"\n}\n","server\u002Fpglite.config.ts",[219,487,488,505,532,551,556,564,569,622,648,654],{"__ignoreMap":236},[240,489,490,493,496,499,502],{"class":242,"line":243},[240,491,492],{"class":246},"export",[240,494,495],{"class":246}," default",[240,497,498],{"class":393}," definePGliteServerConfig",[240,500,501],{"class":254},"(",[240,503,504],{"class":250},"{\n",[240,506,507,510,513,516,519,523,526,529],{"class":242,"line":279},[240,508,509],{"class":393},"  init",[240,511,512],{"class":250},":",[240,514,515],{"class":375}," async",[240,517,518],{"class":250}," (",[240,520,522],{"class":521},"sHdIc","pg",[240,524,525],{"class":250},")",[240,527,528],{"class":375}," =>",[240,530,531],{"class":250}," {\n",[240,533,534,537,540,543,545,548],{"class":242,"line":372},[240,535,536],{"class":246},"    await",[240,538,539],{"class":393}," seed",[240,541,501],{"class":542},"swJcz",[240,544,522],{"class":254},[240,546,547],{"class":542},") ",[240,549,550],{"class":400},"\u002F\u002F ✅ use the instance `init` receives\n",[240,552,553],{"class":242,"line":404},[240,554,555],{"class":250},"  },\n",[240,557,558,561],{"class":242,"line":417},[240,559,560],{"class":250},"}",[240,562,563],{"class":254},")\n",[240,565,567],{"class":242,"line":566},6,[240,568,369],{"emptyLinePlaceholder":368},[240,570,572,575,578,580,582,584,586,588,591,593,596,598,602,605,608,611,614,617,620],{"class":242,"line":571},7,[240,573,574],{"class":375},"async",[240,576,577],{"class":375}," function",[240,579,539],{"class":393},[240,581,501],{"class":250},[240,583,522],{"class":521},[240,585,512],{"class":250},[240,587,251],{"class":250},[240,589,590],{"class":542}," exec",[240,592,501],{"class":250},[240,594,595],{"class":521},"sql",[240,597,512],{"class":250},[240,599,601],{"class":600},"sBMFI"," string",[240,603,604],{"class":250},"):",[240,606,607],{"class":600}," Promise",[240,609,610],{"class":250},"\u003C",[240,612,613],{"class":600},"unknown",[240,615,616],{"class":250},">",[240,618,619],{"class":250}," })",[240,621,531],{"class":250},[240,623,625,628,631,633,636,638,641,644,646],{"class":242,"line":624},8,[240,626,627],{"class":246},"  await",[240,629,630],{"class":254}," pg",[240,632,390],{"class":250},[240,634,635],{"class":393},"exec",[240,637,501],{"class":542},[240,639,640],{"class":250},"'",[240,642,643],{"class":273},"INSERT INTO settings DEFAULT VALUES",[240,645,640],{"class":250},[240,647,563],{"class":542},[240,649,651],{"class":242,"line":650},9,[240,652,653],{"class":400},"  \u002F\u002F ❌ `await usePGlite()` here throws: \"The instance is still initialising…\"\n",[240,655,657],{"class":242,"line":656},10,[240,658,659],{"class":250},"}\n",[223,661,662,663,665,666,669,670,673,674,676],{},"The check follows the asynchronous extent of ",[219,664,471],{}," through ",[219,667,668],{},"AsyncLocalStorage",". On a runtime without ",[219,671,672],{},"node:async_hooks"," the call is not detected and would hang instead, so keep ",[219,675,471],{}," self-contained.",[214,678,680],{"id":679},"typing-a-config-written-elsewhere","Typing a config written elsewhere",[223,682,683,686],{},[219,684,685],{},"PGliteInstanceFor\u003Ctypeof config>"," is the instance type a config produces, which helps when the instance is passed around:",[230,688,691],{"className":232,"code":689,"filename":690,"language":235,"meta":236,"style":236},"import type { PGliteInstanceFor } from '#pglite\u002Fserver'\nimport type config from '..\u002Fpglite.config'\n\nexport async function similar(pg: PGliteInstanceFor\u003Ctypeof config>, embedding: number[]) {\n  return pg.query('SELECT id FROM items ORDER BY embedding \u003C-> $1 LIMIT 5', [\n    JSON.stringify(embedding),\n  ])\n}\n","server\u002Futils\u002Fvector.ts",[219,692,693,713,732,736,779,805,825,830],{"__ignoreMap":236},[240,694,695,697,699,701,703,705,707,709,711],{"class":242,"line":243},[240,696,247],{"class":246},[240,698,284],{"class":246},[240,700,251],{"class":250},[240,702,294],{"class":254},[240,704,264],{"class":250},[240,706,267],{"class":246},[240,708,270],{"class":250},[240,710,221],{"class":273},[240,712,276],{"class":250},[240,714,715,717,719,722,725,727,730],{"class":242,"line":279},[240,716,247],{"class":246},[240,718,284],{"class":246},[240,720,721],{"class":254}," config ",[240,723,724],{"class":246},"from",[240,726,270],{"class":250},[240,728,729],{"class":273},"..\u002Fpglite.config",[240,731,276],{"class":250},[240,733,734],{"class":242,"line":372},[240,735,369],{"emptyLinePlaceholder":368},[240,737,738,740,742,744,747,749,751,753,755,758,761,764,767,769,772,775,777],{"class":242,"line":404},[240,739,492],{"class":246},[240,741,515],{"class":375},[240,743,577],{"class":375},[240,745,746],{"class":393}," similar",[240,748,501],{"class":250},[240,750,522],{"class":521},[240,752,512],{"class":250},[240,754,294],{"class":600},[240,756,757],{"class":250},"\u003Ctypeof",[240,759,760],{"class":254}," config",[240,762,763],{"class":250},">,",[240,765,766],{"class":521}," embedding",[240,768,512],{"class":250},[240,770,771],{"class":600}," number",[240,773,774],{"class":254},"[]",[240,776,525],{"class":250},[240,778,531],{"class":250},[240,780,781,784,786,788,791,793,795,798,800,802],{"class":242,"line":417},[240,782,783],{"class":246},"  return",[240,785,630],{"class":254},[240,787,390],{"class":250},[240,789,790],{"class":393},"query",[240,792,501],{"class":542},[240,794,640],{"class":250},[240,796,797],{"class":273},"SELECT id FROM items ORDER BY embedding \u003C-> $1 LIMIT 5",[240,799,640],{"class":250},[240,801,258],{"class":250},[240,803,804],{"class":542}," [\n",[240,806,807,810,812,815,817,820,822],{"class":242,"line":566},[240,808,809],{"class":254},"    JSON",[240,811,390],{"class":250},[240,813,814],{"class":393},"stringify",[240,816,501],{"class":542},[240,818,819],{"class":254},"embedding",[240,821,525],{"class":542},[240,823,824],{"class":250},",\n",[240,826,827],{"class":242,"line":571},[240,828,829],{"class":542},"  ])\n",[240,831,832],{"class":242,"line":624},[240,833,659],{"class":250},[214,835,837],{"id":836},"when-the-socket-is-running","When the socket is running",[223,839,840,841,845,846,848,849,852,853,856,857,860],{},"With the ",[842,843,844],"a",{"href":63},"development socket"," enabled, the socket's instance is created in the Nuxt process, from the same config, and holds the configured data directory. ",[219,847,315],{}," in your routes then refuses that directory, since PGlite allows one instance per directory. Connect through the socket URL instead (",[219,850,851],{},"useRuntimeConfig().pglite.url","), or point the server instance elsewhere with ",[219,854,855],{},"NUXT_PGLITE_DATA_DIR",": the config file and ",[219,858,859],{},"nuxt.config.ts"," options apply to both instances, the runtime override only to the one in Nitro.",[862,863,864],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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 .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":236,"searchDepth":243,"depth":279,"links":866},[867,869,870,872,873],{"id":216,"depth":279,"text":868},"Explicit imports: #pglite\u002Fserver",{"id":326,"depth":279,"text":327},{"id":468,"depth":279,"text":871},"init and usePGlite()",{"id":679,"depth":279,"text":680},{"id":836,"depth":279,"text":837},"Explicit imports, the provider behind usePGlite() and how the instance lives.","md",null,{},{"icon":44},{"title":41,"description":874},"NVR7R8aP9tz0K-JvmvWBVX9jEH8eZP1L_m-nS0-EJNs",[882,884],{"title":36,"path":37,"stem":38,"description":883,"icon":39,"children":-1},"The pglite.server options in nuxt.config.ts, runtime overrides and Nuxt 5.",{"title":28,"path":48,"stem":49,"description":885,"icon":52,"children":-1},"PGlite in the browser, in a Web Worker shared between tabs.",1791474260527]