[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-tanstack-solid-db":3,"mdc-zan4hc-key":31,"related-repo-tanstack-solid-db":4761,"related-org-tanstack-solid-db":4854},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":20,"repoUrl":21,"updatedAt":22,"license":23,"forks":24,"topics":25,"repo":26,"sourceUrl":29,"mdContent":30},"solid-db","manage database queries in SolidJS","SolidJS bindings for TanStack DB. useLiveQuery returns an Accessor that doubles as data access (call as function) with state\u002Fstatus properties. Fine-grained reactivity: signal reads MUST happen inside the query function for tracking. Config passed as Accessor (() => config). Built-in Suspense support via createResource. ReactiveMap for state. Import from @tanstack\u002Fsolid-db (re-exports all of @tanstack\u002Fdb).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"tanstack","TanStack","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Ftanstack.png",[12,16,19],{"name":13,"slug":14,"type":15},"SolidJS","solidjs","tag",{"name":17,"slug":18,"type":15},"Database","database",{"name":9,"slug":8,"type":15},3811,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Fdb","2026-07-16T06:04:13.246747",null,245,[],{"repoUrl":21,"stars":20,"forks":24,"topics":27,"description":28},[],"The reactive client store for your API.","https:\u002F\u002Fgithub.com\u002FTanStack\u002Fdb\u002Ftree\u002FHEAD\u002Fpackages\u002Fsolid-db\u002Fskills\u002Fsolid-db","---\nname: solid-db\ndescription: >\n  SolidJS bindings for TanStack DB. useLiveQuery returns an Accessor that\n  doubles as data access (call as function) with state\u002Fstatus properties.\n  Fine-grained reactivity: signal reads MUST happen inside the query function\n  for tracking. Config passed as Accessor (() => config). Built-in Suspense\n  support via createResource. ReactiveMap for state. Import from\n  @tanstack\u002Fsolid-db (re-exports all of @tanstack\u002Fdb).\ntype: framework\nlibrary: db\nframework: solid\nlibrary_version: '0.6.0'\nrequires:\n  - db-core\nsources:\n  - 'TanStack\u002Fdb:docs\u002Fframework\u002Fsolid\u002Foverview.md'\n  - 'TanStack\u002Fdb:packages\u002Fsolid-db\u002Fsrc\u002FuseLiveQuery.ts'\n---\n\nThis skill builds on db-core. Read it first for collection setup, query builder, and mutation patterns.\n\n# TanStack DB — SolidJS\n\n## Setup\n\n```tsx\nimport { useLiveQuery, eq, not } from '@tanstack\u002Fsolid-db'\nimport { For, Show, Suspense } from 'solid-js'\n\nfunction TodoList() {\n  const todosQuery = useLiveQuery((q) =>\n    q\n      .from({ todo: todoCollection })\n      .where(({ todo }) => not(todo.completed))\n      .orderBy(({ todo }) => todo.created_at, 'asc'),\n  )\n\n  return (\n    \u003CSuspense fallback={\u003Cdiv>Loading...\u003C\u002Fdiv>}>\n      \u003Cul>\n        \u003CFor each={todosQuery()}>{(todo) => \u003Cli>{todo.text}\u003C\u002Fli>}\u003C\u002FFor>\n      \u003C\u002Ful>\n    \u003C\u002FSuspense>\n  )\n}\n```\n\n`@tanstack\u002Fsolid-db` re-exports everything from `@tanstack\u002Fdb`.\n\n## Hook\n\n### useLiveQuery\n\nReturns an `Accessor\u003CArray\u003CT>>` (or `Accessor\u003CT | undefined>` with `findOne`) with additional properties. Call it as a function to get data:\n\n```tsx\n\u002F\u002F Query function — call result as function for data\nconst query = useLiveQuery((q) => q.from({ todo: todoCollection }))\n\u002F\u002F query()        → Array\u003CT> (data)  — or T | undefined when using findOne()\n\u002F\u002F query.data     → DEPRECATED — use query() instead. Migrate any existing code.\n\u002F\u002F query.status   → CollectionStatus\n\u002F\u002F query.isLoading, query.isReady, query.isError\n\u002F\u002F query.state    → ReactiveMap\u003CTKey, T>\n\u002F\u002F query.collection → Collection\n\n\u002F\u002F With reactive signals — signals MUST be read INSIDE the query function\nconst [minPriority, setMinPriority] = createSignal(5)\nconst query = useLiveQuery((q) =>\n  q\n    .from({ todo: todoCollection })\n    .where(({ todo }) => gt(todo.priority, minPriority())),\n)\n\n\u002F\u002F Config object — pass as Accessor\nconst query = useLiveQuery(() => ({\n  query: (q) => q.from({ todo: todoCollection }),\n  gcTime: 60000,\n}))\n\n\u002F\u002F Pre-created collection — pass as Accessor\nconst query = useLiveQuery(() => preloadedCollection)\n\n\u002F\u002F Conditional query\nconst query = useLiveQuery((q) => {\n  const id = userId()\n  if (!id) return undefined\n  return q\n    .from({ todo: todoCollection })\n    .where(({ todo }) => eq(todo.userId, id))\n})\n```\n\n## Solid-Specific Patterns\n\n### Signal reads inside query function\n\n```tsx\n\u002F\u002F CORRECT — signal read tracked inside query function\nconst [category, setCategory] = createSignal('work')\nconst query = useLiveQuery((q) =>\n  q\n    .from({ todo: todoCollection })\n    .where(({ todo }) => eq(todo.category, category())),\n)\n\u002F\u002F Query re-runs when category() changes\n\n\u002F\u002F WRONG — signal read outside, not tracked\nconst cat = category() \u002F\u002F read here loses tracking\nconst query = useLiveQuery((q) =>\n  q.from({ todo: todoCollection }).where(({ todo }) => eq(todo.category, cat)),\n)\n```\n\n### findOne (single result)\n\nWhen the query uses `.findOne()`, `useLiveQuery` returns a single object (or `undefined`) instead of an array:\n\n```tsx\nconst userQuery = useLiveQuery((q) =>\n  q\n    .from({ user: usersCollection })\n    .where(({ user }) => eq(user.id, userId()))\n    .findOne(),\n)\n\n\u002F\u002F userQuery() → T | undefined (not Array\u003CT>)\nreturn \u003CShow when={userQuery()}>{(user) => \u003Cdiv>{user().name}\u003C\u002Fdiv>}\u003C\u002FShow>\n```\n\n### Suspense integration\n\n```tsx\n\u003CSuspense fallback={\u003Cdiv>Loading...\u003C\u002Fdiv>}>\n  \u003CFor each={todosQuery()}>{(todo) => \u003Cli>{todo.text}\u003C\u002Fli>}\u003C\u002FFor>\n\u003C\u002FSuspense>\n```\n\n`useLiveQuery` integrates with Solid's `createResource` — wrap in `\u003CSuspense>` for loading states.\n\n## Includes (Hierarchical Data)\n\nWhen a query uses includes (subqueries in `select`), each child field is a live `Collection` by default. Subscribe to it with `useLiveQuery` in a subcomponent:\n\n```tsx\nfunction ProjectList() {\n  const projectsQuery = useLiveQuery((q) =>\n    q.from({ p: projectsCollection }).select(({ p }) => ({\n      id: p.id,\n      name: p.name,\n      issues: q\n        .from({ i: issuesCollection })\n        .where(({ i }) => eq(i.projectId, p.id))\n        .select(({ i }) => ({ id: i.id, title: i.title })),\n    })),\n  )\n\n  return (\n    \u003CFor each={projectsQuery()}>\n      {(project) => (\n        \u003Cdiv>\n          {project.name}\n          \u003CIssueList issuesCollection={project.issues} \u002F>\n        \u003C\u002Fdiv>\n      )}\n    \u003C\u002FFor>\n  )\n}\n\n\u002F\u002F Child component subscribes to the child Collection\nfunction IssueList(props: { issuesCollection: Collection }) {\n  const issuesQuery = useLiveQuery(() => props.issuesCollection)\n  return \u003CFor each={issuesQuery()}>{(issue) => \u003Cdiv>{issue.title}\u003C\u002Fdiv>}\u003C\u002FFor>\n}\n```\n\nNote: wrap the child Collection in an Accessor (`() => props.issuesCollection`) to match the overload signature.\n\nWith `toArray()`, child results are plain arrays and the parent re-emits on child changes:\n\n```tsx\nimport { toArray, eq } from '@tanstack\u002Fsolid-db'\n\nconst projectsQuery = useLiveQuery((q) =>\n  q.from({ p: projectsCollection }).select(({ p }) => ({\n    id: p.id,\n    name: p.name,\n    issues: toArray(\n      q\n        .from({ i: issuesCollection })\n        .where(({ i }) => eq(i.projectId, p.id))\n        .select(({ i }) => ({ id: i.id, title: i.title })),\n    ),\n  })),\n)\n\u002F\u002F project.issues is a plain array — no subcomponent needed\n```\n\nSee db-core\u002Flive-queries\u002FSKILL.md for full includes rules (correlation conditions, nested includes, aggregates).\n\n## Common Mistakes\n\n### HIGH Reading signals outside the query function\n\nWrong:\n\n```tsx\nconst [userId] = createSignal(1)\nconst id = userId()\nconst query = useLiveQuery((q) =>\n  q.from({ todo: todoCollection }).where(({ todo }) => eq(todo.userId, id)),\n)\n```\n\nCorrect:\n\n```tsx\nconst [userId] = createSignal(1)\nconst query = useLiveQuery((q) =>\n  q\n    .from({ todo: todoCollection })\n    .where(({ todo }) => eq(todo.userId, userId())),\n)\n```\n\nSolid's reactivity tracks signal reads inside reactive contexts. Reading outside the query function captures the value at creation time — changes won't trigger re-execution.\n\nSource: docs\u002Fframework\u002Fsolid\u002Foverview.md\n\n### MEDIUM Using deprecated query.data instead of query()\n\nWrong:\n\n```tsx\n\u003CFor each={todosQuery.data}>{(todo) => \u003Cli>{todo.text}\u003C\u002Fli>}\u003C\u002FFor>\n```\n\nCorrect:\n\n```tsx\n\u003CFor each={todosQuery()}>{(todo) => \u003Cli>{todo.text}\u003C\u002Fli>}\u003C\u002FFor>\n```\n\n`query.data` is deprecated. Always use `query()` to access data. If you encounter existing code using `.data`, migrate it to the function call form.\n\nSee also: db-core\u002Flive-queries\u002FSKILL.md — for query builder API.\n\nSee also: db-core\u002Fmutations-optimistic\u002FSKILL.md — for mutation patterns.\n",{"data":32,"body":42},{"name":4,"description":6,"type":33,"library":34,"framework":35,"library_version":36,"requires":37,"sources":39},"framework","db","solid","0.6.0",[38],"db-core",[40,41],"TanStack\u002Fdb:docs\u002Fframework\u002Fsolid\u002Foverview.md","TanStack\u002Fdb:packages\u002Fsolid-db\u002Fsrc\u002FuseLiveQuery.ts",{"type":43,"children":44},"root",[45,53,60,67,736,753,759,766,795,1648,1654,1660,2089,2095,2123,2420,2426,2580,2606,2612,2640,3523,3536,3549,4056,4061,4067,4073,4078,4295,4300,4501,4506,4511,4517,4521,4620,4624,4718,4745,4750,4755],{"type":46,"tag":47,"props":48,"children":49},"element","p",{},[50],{"type":51,"value":52},"text","This skill builds on db-core. Read it first for collection setup, query builder, and mutation patterns.",{"type":46,"tag":54,"props":55,"children":57},"h1",{"id":56},"tanstack-db-solidjs",[58],{"type":51,"value":59},"TanStack DB — SolidJS",{"type":46,"tag":61,"props":62,"children":64},"h2",{"id":63},"setup",[65],{"type":51,"value":66},"Setup",{"type":46,"tag":68,"props":69,"children":74},"pre",{"className":70,"code":71,"language":72,"meta":73,"style":73},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { useLiveQuery, eq, not } from '@tanstack\u002Fsolid-db'\nimport { For, Show, Suspense } from 'solid-js'\n\nfunction TodoList() {\n  const todosQuery = useLiveQuery((q) =>\n    q\n      .from({ todo: todoCollection })\n      .where(({ todo }) => not(todo.completed))\n      .orderBy(({ todo }) => todo.created_at, 'asc'),\n  )\n\n  return (\n    \u003CSuspense fallback={\u003Cdiv>Loading...\u003C\u002Fdiv>}>\n      \u003Cul>\n        \u003CFor each={todosQuery()}>{(todo) => \u003Cli>{todo.text}\u003C\u002Fli>}\u003C\u002FFor>\n      \u003C\u002Ful>\n    \u003C\u002FSuspense>\n  )\n}\n","tsx","",[75],{"type":46,"tag":76,"props":77,"children":78},"code",{"__ignoreMap":73},[79,148,204,214,240,289,298,345,409,482,491,499,513,567,586,685,702,719,727],{"type":46,"tag":80,"props":81,"children":84},"span",{"class":82,"line":83},"line",1,[85,91,97,103,108,113,117,122,127,132,137,143],{"type":46,"tag":80,"props":86,"children":88},{"style":87},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[89],{"type":51,"value":90},"import",{"type":46,"tag":80,"props":92,"children":94},{"style":93},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[95],{"type":51,"value":96}," {",{"type":46,"tag":80,"props":98,"children":100},{"style":99},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[101],{"type":51,"value":102}," useLiveQuery",{"type":46,"tag":80,"props":104,"children":105},{"style":93},[106],{"type":51,"value":107},",",{"type":46,"tag":80,"props":109,"children":110},{"style":99},[111],{"type":51,"value":112}," eq",{"type":46,"tag":80,"props":114,"children":115},{"style":93},[116],{"type":51,"value":107},{"type":46,"tag":80,"props":118,"children":119},{"style":99},[120],{"type":51,"value":121}," not",{"type":46,"tag":80,"props":123,"children":124},{"style":93},[125],{"type":51,"value":126}," }",{"type":46,"tag":80,"props":128,"children":129},{"style":87},[130],{"type":51,"value":131}," from",{"type":46,"tag":80,"props":133,"children":134},{"style":93},[135],{"type":51,"value":136}," '",{"type":46,"tag":80,"props":138,"children":140},{"style":139},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[141],{"type":51,"value":142},"@tanstack\u002Fsolid-db",{"type":46,"tag":80,"props":144,"children":145},{"style":93},[146],{"type":51,"value":147},"'\n",{"type":46,"tag":80,"props":149,"children":151},{"class":82,"line":150},2,[152,156,160,165,169,174,178,183,187,191,195,200],{"type":46,"tag":80,"props":153,"children":154},{"style":87},[155],{"type":51,"value":90},{"type":46,"tag":80,"props":157,"children":158},{"style":93},[159],{"type":51,"value":96},{"type":46,"tag":80,"props":161,"children":162},{"style":99},[163],{"type":51,"value":164}," For",{"type":46,"tag":80,"props":166,"children":167},{"style":93},[168],{"type":51,"value":107},{"type":46,"tag":80,"props":170,"children":171},{"style":99},[172],{"type":51,"value":173}," Show",{"type":46,"tag":80,"props":175,"children":176},{"style":93},[177],{"type":51,"value":107},{"type":46,"tag":80,"props":179,"children":180},{"style":99},[181],{"type":51,"value":182}," Suspense",{"type":46,"tag":80,"props":184,"children":185},{"style":93},[186],{"type":51,"value":126},{"type":46,"tag":80,"props":188,"children":189},{"style":87},[190],{"type":51,"value":131},{"type":46,"tag":80,"props":192,"children":193},{"style":93},[194],{"type":51,"value":136},{"type":46,"tag":80,"props":196,"children":197},{"style":139},[198],{"type":51,"value":199},"solid-js",{"type":46,"tag":80,"props":201,"children":202},{"style":93},[203],{"type":51,"value":147},{"type":46,"tag":80,"props":205,"children":207},{"class":82,"line":206},3,[208],{"type":46,"tag":80,"props":209,"children":211},{"emptyLinePlaceholder":210},true,[212],{"type":51,"value":213},"\n",{"type":46,"tag":80,"props":215,"children":217},{"class":82,"line":216},4,[218,224,230,235],{"type":46,"tag":80,"props":219,"children":221},{"style":220},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[222],{"type":51,"value":223},"function",{"type":46,"tag":80,"props":225,"children":227},{"style":226},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[228],{"type":51,"value":229}," TodoList",{"type":46,"tag":80,"props":231,"children":232},{"style":93},[233],{"type":51,"value":234},"()",{"type":46,"tag":80,"props":236,"children":237},{"style":93},[238],{"type":51,"value":239}," {\n",{"type":46,"tag":80,"props":241,"children":243},{"class":82,"line":242},5,[244,249,254,259,263,269,273,279,284],{"type":46,"tag":80,"props":245,"children":246},{"style":220},[247],{"type":51,"value":248},"  const",{"type":46,"tag":80,"props":250,"children":251},{"style":99},[252],{"type":51,"value":253}," todosQuery",{"type":46,"tag":80,"props":255,"children":256},{"style":93},[257],{"type":51,"value":258}," =",{"type":46,"tag":80,"props":260,"children":261},{"style":226},[262],{"type":51,"value":102},{"type":46,"tag":80,"props":264,"children":266},{"style":265},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[267],{"type":51,"value":268},"(",{"type":46,"tag":80,"props":270,"children":271},{"style":93},[272],{"type":51,"value":268},{"type":46,"tag":80,"props":274,"children":276},{"style":275},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[277],{"type":51,"value":278},"q",{"type":46,"tag":80,"props":280,"children":281},{"style":93},[282],{"type":51,"value":283},")",{"type":46,"tag":80,"props":285,"children":286},{"style":220},[287],{"type":51,"value":288}," =>\n",{"type":46,"tag":80,"props":290,"children":292},{"class":82,"line":291},6,[293],{"type":46,"tag":80,"props":294,"children":295},{"style":99},[296],{"type":51,"value":297},"    q\n",{"type":46,"tag":80,"props":299,"children":301},{"class":82,"line":300},7,[302,307,312,316,321,326,331,336,340],{"type":46,"tag":80,"props":303,"children":304},{"style":93},[305],{"type":51,"value":306},"      .",{"type":46,"tag":80,"props":308,"children":309},{"style":226},[310],{"type":51,"value":311},"from",{"type":46,"tag":80,"props":313,"children":314},{"style":265},[315],{"type":51,"value":268},{"type":46,"tag":80,"props":317,"children":318},{"style":93},[319],{"type":51,"value":320},"{",{"type":46,"tag":80,"props":322,"children":323},{"style":265},[324],{"type":51,"value":325}," todo",{"type":46,"tag":80,"props":327,"children":328},{"style":93},[329],{"type":51,"value":330},":",{"type":46,"tag":80,"props":332,"children":333},{"style":99},[334],{"type":51,"value":335}," todoCollection",{"type":46,"tag":80,"props":337,"children":338},{"style":93},[339],{"type":51,"value":126},{"type":46,"tag":80,"props":341,"children":342},{"style":265},[343],{"type":51,"value":344},")\n",{"type":46,"tag":80,"props":346,"children":348},{"class":82,"line":347},8,[349,353,358,362,367,371,376,381,385,389,394,399,404],{"type":46,"tag":80,"props":350,"children":351},{"style":93},[352],{"type":51,"value":306},{"type":46,"tag":80,"props":354,"children":355},{"style":226},[356],{"type":51,"value":357},"where",{"type":46,"tag":80,"props":359,"children":360},{"style":265},[361],{"type":51,"value":268},{"type":46,"tag":80,"props":363,"children":364},{"style":93},[365],{"type":51,"value":366},"({",{"type":46,"tag":80,"props":368,"children":369},{"style":275},[370],{"type":51,"value":325},{"type":46,"tag":80,"props":372,"children":373},{"style":93},[374],{"type":51,"value":375}," })",{"type":46,"tag":80,"props":377,"children":378},{"style":220},[379],{"type":51,"value":380}," =>",{"type":46,"tag":80,"props":382,"children":383},{"style":226},[384],{"type":51,"value":121},{"type":46,"tag":80,"props":386,"children":387},{"style":265},[388],{"type":51,"value":268},{"type":46,"tag":80,"props":390,"children":391},{"style":99},[392],{"type":51,"value":393},"todo",{"type":46,"tag":80,"props":395,"children":396},{"style":93},[397],{"type":51,"value":398},".",{"type":46,"tag":80,"props":400,"children":401},{"style":99},[402],{"type":51,"value":403},"completed",{"type":46,"tag":80,"props":405,"children":406},{"style":265},[407],{"type":51,"value":408},"))\n",{"type":46,"tag":80,"props":410,"children":412},{"class":82,"line":411},9,[413,417,422,426,430,434,438,442,446,450,455,459,463,468,473,477],{"type":46,"tag":80,"props":414,"children":415},{"style":93},[416],{"type":51,"value":306},{"type":46,"tag":80,"props":418,"children":419},{"style":226},[420],{"type":51,"value":421},"orderBy",{"type":46,"tag":80,"props":423,"children":424},{"style":265},[425],{"type":51,"value":268},{"type":46,"tag":80,"props":427,"children":428},{"style":93},[429],{"type":51,"value":366},{"type":46,"tag":80,"props":431,"children":432},{"style":275},[433],{"type":51,"value":325},{"type":46,"tag":80,"props":435,"children":436},{"style":93},[437],{"type":51,"value":375},{"type":46,"tag":80,"props":439,"children":440},{"style":220},[441],{"type":51,"value":380},{"type":46,"tag":80,"props":443,"children":444},{"style":99},[445],{"type":51,"value":325},{"type":46,"tag":80,"props":447,"children":448},{"style":93},[449],{"type":51,"value":398},{"type":46,"tag":80,"props":451,"children":452},{"style":99},[453],{"type":51,"value":454},"created_at",{"type":46,"tag":80,"props":456,"children":457},{"style":93},[458],{"type":51,"value":107},{"type":46,"tag":80,"props":460,"children":461},{"style":93},[462],{"type":51,"value":136},{"type":46,"tag":80,"props":464,"children":465},{"style":139},[466],{"type":51,"value":467},"asc",{"type":46,"tag":80,"props":469,"children":470},{"style":93},[471],{"type":51,"value":472},"'",{"type":46,"tag":80,"props":474,"children":475},{"style":265},[476],{"type":51,"value":283},{"type":46,"tag":80,"props":478,"children":479},{"style":93},[480],{"type":51,"value":481},",\n",{"type":46,"tag":80,"props":483,"children":485},{"class":82,"line":484},10,[486],{"type":46,"tag":80,"props":487,"children":488},{"style":265},[489],{"type":51,"value":490},"  )\n",{"type":46,"tag":80,"props":492,"children":494},{"class":82,"line":493},11,[495],{"type":46,"tag":80,"props":496,"children":497},{"emptyLinePlaceholder":210},[498],{"type":51,"value":213},{"type":46,"tag":80,"props":500,"children":502},{"class":82,"line":501},12,[503,508],{"type":46,"tag":80,"props":504,"children":505},{"style":87},[506],{"type":51,"value":507},"  return",{"type":46,"tag":80,"props":509,"children":510},{"style":265},[511],{"type":51,"value":512}," (\n",{"type":46,"tag":80,"props":514,"children":516},{"class":82,"line":515},13,[517,522,528,533,538,543,548,553,558,562],{"type":46,"tag":80,"props":518,"children":519},{"style":93},[520],{"type":51,"value":521},"    \u003C",{"type":46,"tag":80,"props":523,"children":525},{"style":524},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[526],{"type":51,"value":527},"Suspense",{"type":46,"tag":80,"props":529,"children":530},{"style":220},[531],{"type":51,"value":532}," fallback",{"type":46,"tag":80,"props":534,"children":535},{"style":93},[536],{"type":51,"value":537},"={\u003C",{"type":46,"tag":80,"props":539,"children":540},{"style":265},[541],{"type":51,"value":542},"div",{"type":46,"tag":80,"props":544,"children":545},{"style":93},[546],{"type":51,"value":547},">",{"type":46,"tag":80,"props":549,"children":550},{"style":99},[551],{"type":51,"value":552},"Loading...",{"type":46,"tag":80,"props":554,"children":555},{"style":93},[556],{"type":51,"value":557},"\u003C\u002F",{"type":46,"tag":80,"props":559,"children":560},{"style":265},[561],{"type":51,"value":542},{"type":46,"tag":80,"props":563,"children":564},{"style":93},[565],{"type":51,"value":566},">}>\n",{"type":46,"tag":80,"props":568,"children":570},{"class":82,"line":569},14,[571,576,581],{"type":46,"tag":80,"props":572,"children":573},{"style":93},[574],{"type":51,"value":575},"      \u003C",{"type":46,"tag":80,"props":577,"children":578},{"style":265},[579],{"type":51,"value":580},"ul",{"type":46,"tag":80,"props":582,"children":583},{"style":93},[584],{"type":51,"value":585},">\n",{"type":46,"tag":80,"props":587,"children":589},{"class":82,"line":588},15,[590,595,600,605,610,615,619,624,628,632,636,641,646,651,655,659,663,668,672,677,681],{"type":46,"tag":80,"props":591,"children":592},{"style":93},[593],{"type":51,"value":594},"        \u003C",{"type":46,"tag":80,"props":596,"children":597},{"style":524},[598],{"type":51,"value":599},"For",{"type":46,"tag":80,"props":601,"children":602},{"style":220},[603],{"type":51,"value":604}," each",{"type":46,"tag":80,"props":606,"children":607},{"style":93},[608],{"type":51,"value":609},"={",{"type":46,"tag":80,"props":611,"children":612},{"style":226},[613],{"type":51,"value":614},"todosQuery",{"type":46,"tag":80,"props":616,"children":617},{"style":99},[618],{"type":51,"value":234},{"type":46,"tag":80,"props":620,"children":621},{"style":93},[622],{"type":51,"value":623},"}>{(",{"type":46,"tag":80,"props":625,"children":626},{"style":275},[627],{"type":51,"value":393},{"type":46,"tag":80,"props":629,"children":630},{"style":93},[631],{"type":51,"value":283},{"type":46,"tag":80,"props":633,"children":634},{"style":220},[635],{"type":51,"value":380},{"type":46,"tag":80,"props":637,"children":638},{"style":93},[639],{"type":51,"value":640}," \u003C",{"type":46,"tag":80,"props":642,"children":643},{"style":265},[644],{"type":51,"value":645},"li",{"type":46,"tag":80,"props":647,"children":648},{"style":93},[649],{"type":51,"value":650},">{",{"type":46,"tag":80,"props":652,"children":653},{"style":99},[654],{"type":51,"value":393},{"type":46,"tag":80,"props":656,"children":657},{"style":93},[658],{"type":51,"value":398},{"type":46,"tag":80,"props":660,"children":661},{"style":99},[662],{"type":51,"value":51},{"type":46,"tag":80,"props":664,"children":665},{"style":93},[666],{"type":51,"value":667},"}\u003C\u002F",{"type":46,"tag":80,"props":669,"children":670},{"style":265},[671],{"type":51,"value":645},{"type":46,"tag":80,"props":673,"children":674},{"style":93},[675],{"type":51,"value":676},">}\u003C\u002F",{"type":46,"tag":80,"props":678,"children":679},{"style":524},[680],{"type":51,"value":599},{"type":46,"tag":80,"props":682,"children":683},{"style":93},[684],{"type":51,"value":585},{"type":46,"tag":80,"props":686,"children":688},{"class":82,"line":687},16,[689,694,698],{"type":46,"tag":80,"props":690,"children":691},{"style":93},[692],{"type":51,"value":693},"      \u003C\u002F",{"type":46,"tag":80,"props":695,"children":696},{"style":265},[697],{"type":51,"value":580},{"type":46,"tag":80,"props":699,"children":700},{"style":93},[701],{"type":51,"value":585},{"type":46,"tag":80,"props":703,"children":705},{"class":82,"line":704},17,[706,711,715],{"type":46,"tag":80,"props":707,"children":708},{"style":93},[709],{"type":51,"value":710},"    \u003C\u002F",{"type":46,"tag":80,"props":712,"children":713},{"style":524},[714],{"type":51,"value":527},{"type":46,"tag":80,"props":716,"children":717},{"style":93},[718],{"type":51,"value":585},{"type":46,"tag":80,"props":720,"children":722},{"class":82,"line":721},18,[723],{"type":46,"tag":80,"props":724,"children":725},{"style":265},[726],{"type":51,"value":490},{"type":46,"tag":80,"props":728,"children":730},{"class":82,"line":729},19,[731],{"type":46,"tag":80,"props":732,"children":733},{"style":93},[734],{"type":51,"value":735},"}\n",{"type":46,"tag":47,"props":737,"children":738},{},[739,744,746,752],{"type":46,"tag":76,"props":740,"children":742},{"className":741},[],[743],{"type":51,"value":142},{"type":51,"value":745}," re-exports everything from ",{"type":46,"tag":76,"props":747,"children":749},{"className":748},[],[750],{"type":51,"value":751},"@tanstack\u002Fdb",{"type":51,"value":398},{"type":46,"tag":61,"props":754,"children":756},{"id":755},"hook",[757],{"type":51,"value":758},"Hook",{"type":46,"tag":760,"props":761,"children":763},"h3",{"id":762},"uselivequery",[764],{"type":51,"value":765},"useLiveQuery",{"type":46,"tag":47,"props":767,"children":768},{},[769,771,777,779,785,787,793],{"type":51,"value":770},"Returns an ",{"type":46,"tag":76,"props":772,"children":774},{"className":773},[],[775],{"type":51,"value":776},"Accessor\u003CArray\u003CT>>",{"type":51,"value":778}," (or ",{"type":46,"tag":76,"props":780,"children":782},{"className":781},[],[783],{"type":51,"value":784},"Accessor\u003CT | undefined>",{"type":51,"value":786}," with ",{"type":46,"tag":76,"props":788,"children":790},{"className":789},[],[791],{"type":51,"value":792},"findOne",{"type":51,"value":794},") with additional properties. Call it as a function to get data:",{"type":46,"tag":68,"props":796,"children":798},{"className":70,"code":797,"language":72,"meta":73,"style":73},"\u002F\u002F Query function — call result as function for data\nconst query = useLiveQuery((q) => q.from({ todo: todoCollection }))\n\u002F\u002F query()        → Array\u003CT> (data)  — or T | undefined when using findOne()\n\u002F\u002F query.data     → DEPRECATED — use query() instead. Migrate any existing code.\n\u002F\u002F query.status   → CollectionStatus\n\u002F\u002F query.isLoading, query.isReady, query.isError\n\u002F\u002F query.state    → ReactiveMap\u003CTKey, T>\n\u002F\u002F query.collection → Collection\n\n\u002F\u002F With reactive signals — signals MUST be read INSIDE the query function\nconst [minPriority, setMinPriority] = createSignal(5)\nconst query = useLiveQuery((q) =>\n  q\n    .from({ todo: todoCollection })\n    .where(({ todo }) => gt(todo.priority, minPriority())),\n)\n\n\u002F\u002F Config object — pass as Accessor\nconst query = useLiveQuery(() => ({\n  query: (q) => q.from({ todo: todoCollection }),\n  gcTime: 60000,\n}))\n\n\u002F\u002F Pre-created collection — pass as Accessor\nconst query = useLiveQuery(() => preloadedCollection)\n\n\u002F\u002F Conditional query\nconst query = useLiveQuery((q) => {\n  const id = userId()\n  if (!id) return undefined\n  return q\n    .from({ todo: todoCollection })\n    .where(({ todo }) => eq(todo.userId, id))\n})\n",[799],{"type":46,"tag":76,"props":800,"children":801},{"__ignoreMap":73},[802,811,896,904,912,920,928,936,944,951,959,1013,1052,1060,1100,1168,1175,1182,1190,1231,1304,1326,1338,1346,1355,1392,1400,1409,1453,1480,1518,1531,1571,1636],{"type":46,"tag":80,"props":803,"children":804},{"class":82,"line":83},[805],{"type":46,"tag":80,"props":806,"children":808},{"style":807},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[809],{"type":51,"value":810},"\u002F\u002F Query function — call result as function for data\n",{"type":46,"tag":80,"props":812,"children":813},{"class":82,"line":150},[814,819,824,829,833,837,841,845,849,853,858,862,866,870,874,878,882,887,892],{"type":46,"tag":80,"props":815,"children":816},{"style":220},[817],{"type":51,"value":818},"const",{"type":46,"tag":80,"props":820,"children":821},{"style":99},[822],{"type":51,"value":823}," query ",{"type":46,"tag":80,"props":825,"children":826},{"style":93},[827],{"type":51,"value":828},"=",{"type":46,"tag":80,"props":830,"children":831},{"style":226},[832],{"type":51,"value":102},{"type":46,"tag":80,"props":834,"children":835},{"style":99},[836],{"type":51,"value":268},{"type":46,"tag":80,"props":838,"children":839},{"style":93},[840],{"type":51,"value":268},{"type":46,"tag":80,"props":842,"children":843},{"style":275},[844],{"type":51,"value":278},{"type":46,"tag":80,"props":846,"children":847},{"style":93},[848],{"type":51,"value":283},{"type":46,"tag":80,"props":850,"children":851},{"style":220},[852],{"type":51,"value":380},{"type":46,"tag":80,"props":854,"children":855},{"style":99},[856],{"type":51,"value":857}," q",{"type":46,"tag":80,"props":859,"children":860},{"style":93},[861],{"type":51,"value":398},{"type":46,"tag":80,"props":863,"children":864},{"style":226},[865],{"type":51,"value":311},{"type":46,"tag":80,"props":867,"children":868},{"style":99},[869],{"type":51,"value":268},{"type":46,"tag":80,"props":871,"children":872},{"style":93},[873],{"type":51,"value":320},{"type":46,"tag":80,"props":875,"children":876},{"style":265},[877],{"type":51,"value":325},{"type":46,"tag":80,"props":879,"children":880},{"style":93},[881],{"type":51,"value":330},{"type":46,"tag":80,"props":883,"children":884},{"style":99},[885],{"type":51,"value":886}," todoCollection ",{"type":46,"tag":80,"props":888,"children":889},{"style":93},[890],{"type":51,"value":891},"}",{"type":46,"tag":80,"props":893,"children":894},{"style":99},[895],{"type":51,"value":408},{"type":46,"tag":80,"props":897,"children":898},{"class":82,"line":206},[899],{"type":46,"tag":80,"props":900,"children":901},{"style":807},[902],{"type":51,"value":903},"\u002F\u002F query()        → Array\u003CT> (data)  — or T | undefined when using findOne()\n",{"type":46,"tag":80,"props":905,"children":906},{"class":82,"line":216},[907],{"type":46,"tag":80,"props":908,"children":909},{"style":807},[910],{"type":51,"value":911},"\u002F\u002F query.data     → DEPRECATED — use query() instead. Migrate any existing code.\n",{"type":46,"tag":80,"props":913,"children":914},{"class":82,"line":242},[915],{"type":46,"tag":80,"props":916,"children":917},{"style":807},[918],{"type":51,"value":919},"\u002F\u002F query.status   → CollectionStatus\n",{"type":46,"tag":80,"props":921,"children":922},{"class":82,"line":291},[923],{"type":46,"tag":80,"props":924,"children":925},{"style":807},[926],{"type":51,"value":927},"\u002F\u002F query.isLoading, query.isReady, query.isError\n",{"type":46,"tag":80,"props":929,"children":930},{"class":82,"line":300},[931],{"type":46,"tag":80,"props":932,"children":933},{"style":807},[934],{"type":51,"value":935},"\u002F\u002F query.state    → ReactiveMap\u003CTKey, T>\n",{"type":46,"tag":80,"props":937,"children":938},{"class":82,"line":347},[939],{"type":46,"tag":80,"props":940,"children":941},{"style":807},[942],{"type":51,"value":943},"\u002F\u002F query.collection → Collection\n",{"type":46,"tag":80,"props":945,"children":946},{"class":82,"line":411},[947],{"type":46,"tag":80,"props":948,"children":949},{"emptyLinePlaceholder":210},[950],{"type":51,"value":213},{"type":46,"tag":80,"props":952,"children":953},{"class":82,"line":484},[954],{"type":46,"tag":80,"props":955,"children":956},{"style":807},[957],{"type":51,"value":958},"\u002F\u002F With reactive signals — signals MUST be read INSIDE the query function\n",{"type":46,"tag":80,"props":960,"children":961},{"class":82,"line":493},[962,966,971,976,980,985,990,994,999,1003,1009],{"type":46,"tag":80,"props":963,"children":964},{"style":220},[965],{"type":51,"value":818},{"type":46,"tag":80,"props":967,"children":968},{"style":93},[969],{"type":51,"value":970}," [",{"type":46,"tag":80,"props":972,"children":973},{"style":99},[974],{"type":51,"value":975},"minPriority",{"type":46,"tag":80,"props":977,"children":978},{"style":93},[979],{"type":51,"value":107},{"type":46,"tag":80,"props":981,"children":982},{"style":99},[983],{"type":51,"value":984}," setMinPriority",{"type":46,"tag":80,"props":986,"children":987},{"style":93},[988],{"type":51,"value":989},"]",{"type":46,"tag":80,"props":991,"children":992},{"style":93},[993],{"type":51,"value":258},{"type":46,"tag":80,"props":995,"children":996},{"style":226},[997],{"type":51,"value":998}," createSignal",{"type":46,"tag":80,"props":1000,"children":1001},{"style":99},[1002],{"type":51,"value":268},{"type":46,"tag":80,"props":1004,"children":1006},{"style":1005},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1007],{"type":51,"value":1008},"5",{"type":46,"tag":80,"props":1010,"children":1011},{"style":99},[1012],{"type":51,"value":344},{"type":46,"tag":80,"props":1014,"children":1015},{"class":82,"line":501},[1016,1020,1024,1028,1032,1036,1040,1044,1048],{"type":46,"tag":80,"props":1017,"children":1018},{"style":220},[1019],{"type":51,"value":818},{"type":46,"tag":80,"props":1021,"children":1022},{"style":99},[1023],{"type":51,"value":823},{"type":46,"tag":80,"props":1025,"children":1026},{"style":93},[1027],{"type":51,"value":828},{"type":46,"tag":80,"props":1029,"children":1030},{"style":226},[1031],{"type":51,"value":102},{"type":46,"tag":80,"props":1033,"children":1034},{"style":99},[1035],{"type":51,"value":268},{"type":46,"tag":80,"props":1037,"children":1038},{"style":93},[1039],{"type":51,"value":268},{"type":46,"tag":80,"props":1041,"children":1042},{"style":275},[1043],{"type":51,"value":278},{"type":46,"tag":80,"props":1045,"children":1046},{"style":93},[1047],{"type":51,"value":283},{"type":46,"tag":80,"props":1049,"children":1050},{"style":220},[1051],{"type":51,"value":288},{"type":46,"tag":80,"props":1053,"children":1054},{"class":82,"line":515},[1055],{"type":46,"tag":80,"props":1056,"children":1057},{"style":99},[1058],{"type":51,"value":1059},"  q\n",{"type":46,"tag":80,"props":1061,"children":1062},{"class":82,"line":569},[1063,1068,1072,1076,1080,1084,1088,1092,1096],{"type":46,"tag":80,"props":1064,"children":1065},{"style":93},[1066],{"type":51,"value":1067},"    .",{"type":46,"tag":80,"props":1069,"children":1070},{"style":226},[1071],{"type":51,"value":311},{"type":46,"tag":80,"props":1073,"children":1074},{"style":99},[1075],{"type":51,"value":268},{"type":46,"tag":80,"props":1077,"children":1078},{"style":93},[1079],{"type":51,"value":320},{"type":46,"tag":80,"props":1081,"children":1082},{"style":265},[1083],{"type":51,"value":325},{"type":46,"tag":80,"props":1085,"children":1086},{"style":93},[1087],{"type":51,"value":330},{"type":46,"tag":80,"props":1089,"children":1090},{"style":99},[1091],{"type":51,"value":886},{"type":46,"tag":80,"props":1093,"children":1094},{"style":93},[1095],{"type":51,"value":891},{"type":46,"tag":80,"props":1097,"children":1098},{"style":99},[1099],{"type":51,"value":344},{"type":46,"tag":80,"props":1101,"children":1102},{"class":82,"line":588},[1103,1107,1111,1115,1119,1123,1127,1131,1136,1141,1145,1150,1154,1159,1164],{"type":46,"tag":80,"props":1104,"children":1105},{"style":93},[1106],{"type":51,"value":1067},{"type":46,"tag":80,"props":1108,"children":1109},{"style":226},[1110],{"type":51,"value":357},{"type":46,"tag":80,"props":1112,"children":1113},{"style":99},[1114],{"type":51,"value":268},{"type":46,"tag":80,"props":1116,"children":1117},{"style":93},[1118],{"type":51,"value":366},{"type":46,"tag":80,"props":1120,"children":1121},{"style":275},[1122],{"type":51,"value":325},{"type":46,"tag":80,"props":1124,"children":1125},{"style":93},[1126],{"type":51,"value":375},{"type":46,"tag":80,"props":1128,"children":1129},{"style":220},[1130],{"type":51,"value":380},{"type":46,"tag":80,"props":1132,"children":1133},{"style":226},[1134],{"type":51,"value":1135}," gt",{"type":46,"tag":80,"props":1137,"children":1138},{"style":99},[1139],{"type":51,"value":1140},"(todo",{"type":46,"tag":80,"props":1142,"children":1143},{"style":93},[1144],{"type":51,"value":398},{"type":46,"tag":80,"props":1146,"children":1147},{"style":99},[1148],{"type":51,"value":1149},"priority",{"type":46,"tag":80,"props":1151,"children":1152},{"style":93},[1153],{"type":51,"value":107},{"type":46,"tag":80,"props":1155,"children":1156},{"style":226},[1157],{"type":51,"value":1158}," minPriority",{"type":46,"tag":80,"props":1160,"children":1161},{"style":99},[1162],{"type":51,"value":1163},"()))",{"type":46,"tag":80,"props":1165,"children":1166},{"style":93},[1167],{"type":51,"value":481},{"type":46,"tag":80,"props":1169,"children":1170},{"class":82,"line":687},[1171],{"type":46,"tag":80,"props":1172,"children":1173},{"style":99},[1174],{"type":51,"value":344},{"type":46,"tag":80,"props":1176,"children":1177},{"class":82,"line":704},[1178],{"type":46,"tag":80,"props":1179,"children":1180},{"emptyLinePlaceholder":210},[1181],{"type":51,"value":213},{"type":46,"tag":80,"props":1183,"children":1184},{"class":82,"line":721},[1185],{"type":46,"tag":80,"props":1186,"children":1187},{"style":807},[1188],{"type":51,"value":1189},"\u002F\u002F Config object — pass as Accessor\n",{"type":46,"tag":80,"props":1191,"children":1192},{"class":82,"line":729},[1193,1197,1201,1205,1209,1213,1217,1221,1226],{"type":46,"tag":80,"props":1194,"children":1195},{"style":220},[1196],{"type":51,"value":818},{"type":46,"tag":80,"props":1198,"children":1199},{"style":99},[1200],{"type":51,"value":823},{"type":46,"tag":80,"props":1202,"children":1203},{"style":93},[1204],{"type":51,"value":828},{"type":46,"tag":80,"props":1206,"children":1207},{"style":226},[1208],{"type":51,"value":102},{"type":46,"tag":80,"props":1210,"children":1211},{"style":99},[1212],{"type":51,"value":268},{"type":46,"tag":80,"props":1214,"children":1215},{"style":93},[1216],{"type":51,"value":234},{"type":46,"tag":80,"props":1218,"children":1219},{"style":220},[1220],{"type":51,"value":380},{"type":46,"tag":80,"props":1222,"children":1223},{"style":99},[1224],{"type":51,"value":1225}," (",{"type":46,"tag":80,"props":1227,"children":1228},{"style":93},[1229],{"type":51,"value":1230},"{\n",{"type":46,"tag":80,"props":1232,"children":1234},{"class":82,"line":1233},20,[1235,1240,1244,1248,1252,1256,1260,1264,1268,1272,1276,1280,1284,1288,1292,1296,1300],{"type":46,"tag":80,"props":1236,"children":1237},{"style":226},[1238],{"type":51,"value":1239},"  query",{"type":46,"tag":80,"props":1241,"children":1242},{"style":93},[1243],{"type":51,"value":330},{"type":46,"tag":80,"props":1245,"children":1246},{"style":93},[1247],{"type":51,"value":1225},{"type":46,"tag":80,"props":1249,"children":1250},{"style":275},[1251],{"type":51,"value":278},{"type":46,"tag":80,"props":1253,"children":1254},{"style":93},[1255],{"type":51,"value":283},{"type":46,"tag":80,"props":1257,"children":1258},{"style":220},[1259],{"type":51,"value":380},{"type":46,"tag":80,"props":1261,"children":1262},{"style":99},[1263],{"type":51,"value":857},{"type":46,"tag":80,"props":1265,"children":1266},{"style":93},[1267],{"type":51,"value":398},{"type":46,"tag":80,"props":1269,"children":1270},{"style":226},[1271],{"type":51,"value":311},{"type":46,"tag":80,"props":1273,"children":1274},{"style":99},[1275],{"type":51,"value":268},{"type":46,"tag":80,"props":1277,"children":1278},{"style":93},[1279],{"type":51,"value":320},{"type":46,"tag":80,"props":1281,"children":1282},{"style":265},[1283],{"type":51,"value":325},{"type":46,"tag":80,"props":1285,"children":1286},{"style":93},[1287],{"type":51,"value":330},{"type":46,"tag":80,"props":1289,"children":1290},{"style":99},[1291],{"type":51,"value":886},{"type":46,"tag":80,"props":1293,"children":1294},{"style":93},[1295],{"type":51,"value":891},{"type":46,"tag":80,"props":1297,"children":1298},{"style":99},[1299],{"type":51,"value":283},{"type":46,"tag":80,"props":1301,"children":1302},{"style":93},[1303],{"type":51,"value":481},{"type":46,"tag":80,"props":1305,"children":1307},{"class":82,"line":1306},21,[1308,1313,1317,1322],{"type":46,"tag":80,"props":1309,"children":1310},{"style":265},[1311],{"type":51,"value":1312},"  gcTime",{"type":46,"tag":80,"props":1314,"children":1315},{"style":93},[1316],{"type":51,"value":330},{"type":46,"tag":80,"props":1318,"children":1319},{"style":1005},[1320],{"type":51,"value":1321}," 60000",{"type":46,"tag":80,"props":1323,"children":1324},{"style":93},[1325],{"type":51,"value":481},{"type":46,"tag":80,"props":1327,"children":1329},{"class":82,"line":1328},22,[1330,1334],{"type":46,"tag":80,"props":1331,"children":1332},{"style":93},[1333],{"type":51,"value":891},{"type":46,"tag":80,"props":1335,"children":1336},{"style":99},[1337],{"type":51,"value":408},{"type":46,"tag":80,"props":1339,"children":1341},{"class":82,"line":1340},23,[1342],{"type":46,"tag":80,"props":1343,"children":1344},{"emptyLinePlaceholder":210},[1345],{"type":51,"value":213},{"type":46,"tag":80,"props":1347,"children":1349},{"class":82,"line":1348},24,[1350],{"type":46,"tag":80,"props":1351,"children":1352},{"style":807},[1353],{"type":51,"value":1354},"\u002F\u002F Pre-created collection — pass as Accessor\n",{"type":46,"tag":80,"props":1356,"children":1358},{"class":82,"line":1357},25,[1359,1363,1367,1371,1375,1379,1383,1387],{"type":46,"tag":80,"props":1360,"children":1361},{"style":220},[1362],{"type":51,"value":818},{"type":46,"tag":80,"props":1364,"children":1365},{"style":99},[1366],{"type":51,"value":823},{"type":46,"tag":80,"props":1368,"children":1369},{"style":93},[1370],{"type":51,"value":828},{"type":46,"tag":80,"props":1372,"children":1373},{"style":226},[1374],{"type":51,"value":102},{"type":46,"tag":80,"props":1376,"children":1377},{"style":99},[1378],{"type":51,"value":268},{"type":46,"tag":80,"props":1380,"children":1381},{"style":93},[1382],{"type":51,"value":234},{"type":46,"tag":80,"props":1384,"children":1385},{"style":220},[1386],{"type":51,"value":380},{"type":46,"tag":80,"props":1388,"children":1389},{"style":99},[1390],{"type":51,"value":1391}," preloadedCollection)\n",{"type":46,"tag":80,"props":1393,"children":1395},{"class":82,"line":1394},26,[1396],{"type":46,"tag":80,"props":1397,"children":1398},{"emptyLinePlaceholder":210},[1399],{"type":51,"value":213},{"type":46,"tag":80,"props":1401,"children":1403},{"class":82,"line":1402},27,[1404],{"type":46,"tag":80,"props":1405,"children":1406},{"style":807},[1407],{"type":51,"value":1408},"\u002F\u002F Conditional query\n",{"type":46,"tag":80,"props":1410,"children":1412},{"class":82,"line":1411},28,[1413,1417,1421,1425,1429,1433,1437,1441,1445,1449],{"type":46,"tag":80,"props":1414,"children":1415},{"style":220},[1416],{"type":51,"value":818},{"type":46,"tag":80,"props":1418,"children":1419},{"style":99},[1420],{"type":51,"value":823},{"type":46,"tag":80,"props":1422,"children":1423},{"style":93},[1424],{"type":51,"value":828},{"type":46,"tag":80,"props":1426,"children":1427},{"style":226},[1428],{"type":51,"value":102},{"type":46,"tag":80,"props":1430,"children":1431},{"style":99},[1432],{"type":51,"value":268},{"type":46,"tag":80,"props":1434,"children":1435},{"style":93},[1436],{"type":51,"value":268},{"type":46,"tag":80,"props":1438,"children":1439},{"style":275},[1440],{"type":51,"value":278},{"type":46,"tag":80,"props":1442,"children":1443},{"style":93},[1444],{"type":51,"value":283},{"type":46,"tag":80,"props":1446,"children":1447},{"style":220},[1448],{"type":51,"value":380},{"type":46,"tag":80,"props":1450,"children":1451},{"style":93},[1452],{"type":51,"value":239},{"type":46,"tag":80,"props":1454,"children":1456},{"class":82,"line":1455},29,[1457,1461,1466,1470,1475],{"type":46,"tag":80,"props":1458,"children":1459},{"style":220},[1460],{"type":51,"value":248},{"type":46,"tag":80,"props":1462,"children":1463},{"style":99},[1464],{"type":51,"value":1465}," id",{"type":46,"tag":80,"props":1467,"children":1468},{"style":93},[1469],{"type":51,"value":258},{"type":46,"tag":80,"props":1471,"children":1472},{"style":226},[1473],{"type":51,"value":1474}," userId",{"type":46,"tag":80,"props":1476,"children":1477},{"style":265},[1478],{"type":51,"value":1479},"()\n",{"type":46,"tag":80,"props":1481,"children":1483},{"class":82,"line":1482},30,[1484,1489,1493,1498,1503,1508,1513],{"type":46,"tag":80,"props":1485,"children":1486},{"style":87},[1487],{"type":51,"value":1488},"  if",{"type":46,"tag":80,"props":1490,"children":1491},{"style":265},[1492],{"type":51,"value":1225},{"type":46,"tag":80,"props":1494,"children":1495},{"style":93},[1496],{"type":51,"value":1497},"!",{"type":46,"tag":80,"props":1499,"children":1500},{"style":99},[1501],{"type":51,"value":1502},"id",{"type":46,"tag":80,"props":1504,"children":1505},{"style":265},[1506],{"type":51,"value":1507},") ",{"type":46,"tag":80,"props":1509,"children":1510},{"style":87},[1511],{"type":51,"value":1512},"return",{"type":46,"tag":80,"props":1514,"children":1515},{"style":93},[1516],{"type":51,"value":1517}," undefined\n",{"type":46,"tag":80,"props":1519,"children":1521},{"class":82,"line":1520},31,[1522,1526],{"type":46,"tag":80,"props":1523,"children":1524},{"style":87},[1525],{"type":51,"value":507},{"type":46,"tag":80,"props":1527,"children":1528},{"style":99},[1529],{"type":51,"value":1530}," q\n",{"type":46,"tag":80,"props":1532,"children":1534},{"class":82,"line":1533},32,[1535,1539,1543,1547,1551,1555,1559,1563,1567],{"type":46,"tag":80,"props":1536,"children":1537},{"style":93},[1538],{"type":51,"value":1067},{"type":46,"tag":80,"props":1540,"children":1541},{"style":226},[1542],{"type":51,"value":311},{"type":46,"tag":80,"props":1544,"children":1545},{"style":265},[1546],{"type":51,"value":268},{"type":46,"tag":80,"props":1548,"children":1549},{"style":93},[1550],{"type":51,"value":320},{"type":46,"tag":80,"props":1552,"children":1553},{"style":265},[1554],{"type":51,"value":325},{"type":46,"tag":80,"props":1556,"children":1557},{"style":93},[1558],{"type":51,"value":330},{"type":46,"tag":80,"props":1560,"children":1561},{"style":99},[1562],{"type":51,"value":335},{"type":46,"tag":80,"props":1564,"children":1565},{"style":93},[1566],{"type":51,"value":126},{"type":46,"tag":80,"props":1568,"children":1569},{"style":265},[1570],{"type":51,"value":344},{"type":46,"tag":80,"props":1572,"children":1574},{"class":82,"line":1573},33,[1575,1579,1583,1587,1591,1595,1599,1603,1607,1611,1615,1619,1624,1628,1632],{"type":46,"tag":80,"props":1576,"children":1577},{"style":93},[1578],{"type":51,"value":1067},{"type":46,"tag":80,"props":1580,"children":1581},{"style":226},[1582],{"type":51,"value":357},{"type":46,"tag":80,"props":1584,"children":1585},{"style":265},[1586],{"type":51,"value":268},{"type":46,"tag":80,"props":1588,"children":1589},{"style":93},[1590],{"type":51,"value":366},{"type":46,"tag":80,"props":1592,"children":1593},{"style":275},[1594],{"type":51,"value":325},{"type":46,"tag":80,"props":1596,"children":1597},{"style":93},[1598],{"type":51,"value":375},{"type":46,"tag":80,"props":1600,"children":1601},{"style":220},[1602],{"type":51,"value":380},{"type":46,"tag":80,"props":1604,"children":1605},{"style":226},[1606],{"type":51,"value":112},{"type":46,"tag":80,"props":1608,"children":1609},{"style":265},[1610],{"type":51,"value":268},{"type":46,"tag":80,"props":1612,"children":1613},{"style":99},[1614],{"type":51,"value":393},{"type":46,"tag":80,"props":1616,"children":1617},{"style":93},[1618],{"type":51,"value":398},{"type":46,"tag":80,"props":1620,"children":1621},{"style":99},[1622],{"type":51,"value":1623},"userId",{"type":46,"tag":80,"props":1625,"children":1626},{"style":93},[1627],{"type":51,"value":107},{"type":46,"tag":80,"props":1629,"children":1630},{"style":99},[1631],{"type":51,"value":1465},{"type":46,"tag":80,"props":1633,"children":1634},{"style":265},[1635],{"type":51,"value":408},{"type":46,"tag":80,"props":1637,"children":1639},{"class":82,"line":1638},34,[1640,1644],{"type":46,"tag":80,"props":1641,"children":1642},{"style":93},[1643],{"type":51,"value":891},{"type":46,"tag":80,"props":1645,"children":1646},{"style":99},[1647],{"type":51,"value":344},{"type":46,"tag":61,"props":1649,"children":1651},{"id":1650},"solid-specific-patterns",[1652],{"type":51,"value":1653},"Solid-Specific Patterns",{"type":46,"tag":760,"props":1655,"children":1657},{"id":1656},"signal-reads-inside-query-function",[1658],{"type":51,"value":1659},"Signal reads inside query function",{"type":46,"tag":68,"props":1661,"children":1663},{"className":70,"code":1662,"language":72,"meta":73,"style":73},"\u002F\u002F CORRECT — signal read tracked inside query function\nconst [category, setCategory] = createSignal('work')\nconst query = useLiveQuery((q) =>\n  q\n    .from({ todo: todoCollection })\n    .where(({ todo }) => eq(todo.category, category())),\n)\n\u002F\u002F Query re-runs when category() changes\n\n\u002F\u002F WRONG — signal read outside, not tracked\nconst cat = category() \u002F\u002F read here loses tracking\nconst query = useLiveQuery((q) =>\n  q.from({ todo: todoCollection }).where(({ todo }) => eq(todo.category, cat)),\n)\n",[1664],{"type":46,"tag":76,"props":1665,"children":1666},{"__ignoreMap":73},[1667,1675,1733,1772,1779,1818,1882,1889,1897,1904,1912,1942,1981,2082],{"type":46,"tag":80,"props":1668,"children":1669},{"class":82,"line":83},[1670],{"type":46,"tag":80,"props":1671,"children":1672},{"style":807},[1673],{"type":51,"value":1674},"\u002F\u002F CORRECT — signal read tracked inside query function\n",{"type":46,"tag":80,"props":1676,"children":1677},{"class":82,"line":150},[1678,1682,1686,1691,1695,1700,1704,1708,1712,1716,1720,1725,1729],{"type":46,"tag":80,"props":1679,"children":1680},{"style":220},[1681],{"type":51,"value":818},{"type":46,"tag":80,"props":1683,"children":1684},{"style":93},[1685],{"type":51,"value":970},{"type":46,"tag":80,"props":1687,"children":1688},{"style":99},[1689],{"type":51,"value":1690},"category",{"type":46,"tag":80,"props":1692,"children":1693},{"style":93},[1694],{"type":51,"value":107},{"type":46,"tag":80,"props":1696,"children":1697},{"style":99},[1698],{"type":51,"value":1699}," setCategory",{"type":46,"tag":80,"props":1701,"children":1702},{"style":93},[1703],{"type":51,"value":989},{"type":46,"tag":80,"props":1705,"children":1706},{"style":93},[1707],{"type":51,"value":258},{"type":46,"tag":80,"props":1709,"children":1710},{"style":226},[1711],{"type":51,"value":998},{"type":46,"tag":80,"props":1713,"children":1714},{"style":99},[1715],{"type":51,"value":268},{"type":46,"tag":80,"props":1717,"children":1718},{"style":93},[1719],{"type":51,"value":472},{"type":46,"tag":80,"props":1721,"children":1722},{"style":139},[1723],{"type":51,"value":1724},"work",{"type":46,"tag":80,"props":1726,"children":1727},{"style":93},[1728],{"type":51,"value":472},{"type":46,"tag":80,"props":1730,"children":1731},{"style":99},[1732],{"type":51,"value":344},{"type":46,"tag":80,"props":1734,"children":1735},{"class":82,"line":206},[1736,1740,1744,1748,1752,1756,1760,1764,1768],{"type":46,"tag":80,"props":1737,"children":1738},{"style":220},[1739],{"type":51,"value":818},{"type":46,"tag":80,"props":1741,"children":1742},{"style":99},[1743],{"type":51,"value":823},{"type":46,"tag":80,"props":1745,"children":1746},{"style":93},[1747],{"type":51,"value":828},{"type":46,"tag":80,"props":1749,"children":1750},{"style":226},[1751],{"type":51,"value":102},{"type":46,"tag":80,"props":1753,"children":1754},{"style":99},[1755],{"type":51,"value":268},{"type":46,"tag":80,"props":1757,"children":1758},{"style":93},[1759],{"type":51,"value":268},{"type":46,"tag":80,"props":1761,"children":1762},{"style":275},[1763],{"type":51,"value":278},{"type":46,"tag":80,"props":1765,"children":1766},{"style":93},[1767],{"type":51,"value":283},{"type":46,"tag":80,"props":1769,"children":1770},{"style":220},[1771],{"type":51,"value":288},{"type":46,"tag":80,"props":1773,"children":1774},{"class":82,"line":216},[1775],{"type":46,"tag":80,"props":1776,"children":1777},{"style":99},[1778],{"type":51,"value":1059},{"type":46,"tag":80,"props":1780,"children":1781},{"class":82,"line":242},[1782,1786,1790,1794,1798,1802,1806,1810,1814],{"type":46,"tag":80,"props":1783,"children":1784},{"style":93},[1785],{"type":51,"value":1067},{"type":46,"tag":80,"props":1787,"children":1788},{"style":226},[1789],{"type":51,"value":311},{"type":46,"tag":80,"props":1791,"children":1792},{"style":99},[1793],{"type":51,"value":268},{"type":46,"tag":80,"props":1795,"children":1796},{"style":93},[1797],{"type":51,"value":320},{"type":46,"tag":80,"props":1799,"children":1800},{"style":265},[1801],{"type":51,"value":325},{"type":46,"tag":80,"props":1803,"children":1804},{"style":93},[1805],{"type":51,"value":330},{"type":46,"tag":80,"props":1807,"children":1808},{"style":99},[1809],{"type":51,"value":886},{"type":46,"tag":80,"props":1811,"children":1812},{"style":93},[1813],{"type":51,"value":891},{"type":46,"tag":80,"props":1815,"children":1816},{"style":99},[1817],{"type":51,"value":344},{"type":46,"tag":80,"props":1819,"children":1820},{"class":82,"line":291},[1821,1825,1829,1833,1837,1841,1845,1849,1853,1857,1861,1865,1869,1874,1878],{"type":46,"tag":80,"props":1822,"children":1823},{"style":93},[1824],{"type":51,"value":1067},{"type":46,"tag":80,"props":1826,"children":1827},{"style":226},[1828],{"type":51,"value":357},{"type":46,"tag":80,"props":1830,"children":1831},{"style":99},[1832],{"type":51,"value":268},{"type":46,"tag":80,"props":1834,"children":1835},{"style":93},[1836],{"type":51,"value":366},{"type":46,"tag":80,"props":1838,"children":1839},{"style":275},[1840],{"type":51,"value":325},{"type":46,"tag":80,"props":1842,"children":1843},{"style":93},[1844],{"type":51,"value":375},{"type":46,"tag":80,"props":1846,"children":1847},{"style":220},[1848],{"type":51,"value":380},{"type":46,"tag":80,"props":1850,"children":1851},{"style":226},[1852],{"type":51,"value":112},{"type":46,"tag":80,"props":1854,"children":1855},{"style":99},[1856],{"type":51,"value":1140},{"type":46,"tag":80,"props":1858,"children":1859},{"style":93},[1860],{"type":51,"value":398},{"type":46,"tag":80,"props":1862,"children":1863},{"style":99},[1864],{"type":51,"value":1690},{"type":46,"tag":80,"props":1866,"children":1867},{"style":93},[1868],{"type":51,"value":107},{"type":46,"tag":80,"props":1870,"children":1871},{"style":226},[1872],{"type":51,"value":1873}," category",{"type":46,"tag":80,"props":1875,"children":1876},{"style":99},[1877],{"type":51,"value":1163},{"type":46,"tag":80,"props":1879,"children":1880},{"style":93},[1881],{"type":51,"value":481},{"type":46,"tag":80,"props":1883,"children":1884},{"class":82,"line":300},[1885],{"type":46,"tag":80,"props":1886,"children":1887},{"style":99},[1888],{"type":51,"value":344},{"type":46,"tag":80,"props":1890,"children":1891},{"class":82,"line":347},[1892],{"type":46,"tag":80,"props":1893,"children":1894},{"style":807},[1895],{"type":51,"value":1896},"\u002F\u002F Query re-runs when category() changes\n",{"type":46,"tag":80,"props":1898,"children":1899},{"class":82,"line":411},[1900],{"type":46,"tag":80,"props":1901,"children":1902},{"emptyLinePlaceholder":210},[1903],{"type":51,"value":213},{"type":46,"tag":80,"props":1905,"children":1906},{"class":82,"line":484},[1907],{"type":46,"tag":80,"props":1908,"children":1909},{"style":807},[1910],{"type":51,"value":1911},"\u002F\u002F WRONG — signal read outside, not tracked\n",{"type":46,"tag":80,"props":1913,"children":1914},{"class":82,"line":493},[1915,1919,1924,1928,1932,1937],{"type":46,"tag":80,"props":1916,"children":1917},{"style":220},[1918],{"type":51,"value":818},{"type":46,"tag":80,"props":1920,"children":1921},{"style":99},[1922],{"type":51,"value":1923}," cat ",{"type":46,"tag":80,"props":1925,"children":1926},{"style":93},[1927],{"type":51,"value":828},{"type":46,"tag":80,"props":1929,"children":1930},{"style":226},[1931],{"type":51,"value":1873},{"type":46,"tag":80,"props":1933,"children":1934},{"style":99},[1935],{"type":51,"value":1936},"() ",{"type":46,"tag":80,"props":1938,"children":1939},{"style":807},[1940],{"type":51,"value":1941},"\u002F\u002F read here loses tracking\n",{"type":46,"tag":80,"props":1943,"children":1944},{"class":82,"line":501},[1945,1949,1953,1957,1961,1965,1969,1973,1977],{"type":46,"tag":80,"props":1946,"children":1947},{"style":220},[1948],{"type":51,"value":818},{"type":46,"tag":80,"props":1950,"children":1951},{"style":99},[1952],{"type":51,"value":823},{"type":46,"tag":80,"props":1954,"children":1955},{"style":93},[1956],{"type":51,"value":828},{"type":46,"tag":80,"props":1958,"children":1959},{"style":226},[1960],{"type":51,"value":102},{"type":46,"tag":80,"props":1962,"children":1963},{"style":99},[1964],{"type":51,"value":268},{"type":46,"tag":80,"props":1966,"children":1967},{"style":93},[1968],{"type":51,"value":268},{"type":46,"tag":80,"props":1970,"children":1971},{"style":275},[1972],{"type":51,"value":278},{"type":46,"tag":80,"props":1974,"children":1975},{"style":93},[1976],{"type":51,"value":283},{"type":46,"tag":80,"props":1978,"children":1979},{"style":220},[1980],{"type":51,"value":288},{"type":46,"tag":80,"props":1982,"children":1983},{"class":82,"line":515},[1984,1989,1993,1997,2001,2005,2009,2013,2017,2021,2025,2029,2033,2037,2041,2045,2049,2053,2057,2061,2065,2069,2073,2078],{"type":46,"tag":80,"props":1985,"children":1986},{"style":99},[1987],{"type":51,"value":1988},"  q",{"type":46,"tag":80,"props":1990,"children":1991},{"style":93},[1992],{"type":51,"value":398},{"type":46,"tag":80,"props":1994,"children":1995},{"style":226},[1996],{"type":51,"value":311},{"type":46,"tag":80,"props":1998,"children":1999},{"style":99},[2000],{"type":51,"value":268},{"type":46,"tag":80,"props":2002,"children":2003},{"style":93},[2004],{"type":51,"value":320},{"type":46,"tag":80,"props":2006,"children":2007},{"style":265},[2008],{"type":51,"value":325},{"type":46,"tag":80,"props":2010,"children":2011},{"style":93},[2012],{"type":51,"value":330},{"type":46,"tag":80,"props":2014,"children":2015},{"style":99},[2016],{"type":51,"value":886},{"type":46,"tag":80,"props":2018,"children":2019},{"style":93},[2020],{"type":51,"value":891},{"type":46,"tag":80,"props":2022,"children":2023},{"style":99},[2024],{"type":51,"value":283},{"type":46,"tag":80,"props":2026,"children":2027},{"style":93},[2028],{"type":51,"value":398},{"type":46,"tag":80,"props":2030,"children":2031},{"style":226},[2032],{"type":51,"value":357},{"type":46,"tag":80,"props":2034,"children":2035},{"style":99},[2036],{"type":51,"value":268},{"type":46,"tag":80,"props":2038,"children":2039},{"style":93},[2040],{"type":51,"value":366},{"type":46,"tag":80,"props":2042,"children":2043},{"style":275},[2044],{"type":51,"value":325},{"type":46,"tag":80,"props":2046,"children":2047},{"style":93},[2048],{"type":51,"value":375},{"type":46,"tag":80,"props":2050,"children":2051},{"style":220},[2052],{"type":51,"value":380},{"type":46,"tag":80,"props":2054,"children":2055},{"style":226},[2056],{"type":51,"value":112},{"type":46,"tag":80,"props":2058,"children":2059},{"style":99},[2060],{"type":51,"value":1140},{"type":46,"tag":80,"props":2062,"children":2063},{"style":93},[2064],{"type":51,"value":398},{"type":46,"tag":80,"props":2066,"children":2067},{"style":99},[2068],{"type":51,"value":1690},{"type":46,"tag":80,"props":2070,"children":2071},{"style":93},[2072],{"type":51,"value":107},{"type":46,"tag":80,"props":2074,"children":2075},{"style":99},[2076],{"type":51,"value":2077}," cat))",{"type":46,"tag":80,"props":2079,"children":2080},{"style":93},[2081],{"type":51,"value":481},{"type":46,"tag":80,"props":2083,"children":2084},{"class":82,"line":569},[2085],{"type":46,"tag":80,"props":2086,"children":2087},{"style":99},[2088],{"type":51,"value":344},{"type":46,"tag":760,"props":2090,"children":2092},{"id":2091},"findone-single-result",[2093],{"type":51,"value":2094},"findOne (single result)",{"type":46,"tag":47,"props":2096,"children":2097},{},[2098,2100,2106,2108,2113,2115,2121],{"type":51,"value":2099},"When the query uses ",{"type":46,"tag":76,"props":2101,"children":2103},{"className":2102},[],[2104],{"type":51,"value":2105},".findOne()",{"type":51,"value":2107},", ",{"type":46,"tag":76,"props":2109,"children":2111},{"className":2110},[],[2112],{"type":51,"value":765},{"type":51,"value":2114}," returns a single object (or ",{"type":46,"tag":76,"props":2116,"children":2118},{"className":2117},[],[2119],{"type":51,"value":2120},"undefined",{"type":51,"value":2122},") instead of an array:",{"type":46,"tag":68,"props":2124,"children":2126},{"className":70,"code":2125,"language":72,"meta":73,"style":73},"const userQuery = useLiveQuery((q) =>\n  q\n    .from({ user: usersCollection })\n    .where(({ user }) => eq(user.id, userId()))\n    .findOne(),\n)\n\n\u002F\u002F userQuery() → T | undefined (not Array\u003CT>)\nreturn \u003CShow when={userQuery()}>{(user) => \u003Cdiv>{user().name}\u003C\u002Fdiv>}\u003C\u002FShow>\n",[2127],{"type":46,"tag":76,"props":2128,"children":2129},{"__ignoreMap":73},[2130,2170,2177,2218,2279,2298,2305,2312,2320],{"type":46,"tag":80,"props":2131,"children":2132},{"class":82,"line":83},[2133,2137,2142,2146,2150,2154,2158,2162,2166],{"type":46,"tag":80,"props":2134,"children":2135},{"style":220},[2136],{"type":51,"value":818},{"type":46,"tag":80,"props":2138,"children":2139},{"style":99},[2140],{"type":51,"value":2141}," userQuery ",{"type":46,"tag":80,"props":2143,"children":2144},{"style":93},[2145],{"type":51,"value":828},{"type":46,"tag":80,"props":2147,"children":2148},{"style":226},[2149],{"type":51,"value":102},{"type":46,"tag":80,"props":2151,"children":2152},{"style":99},[2153],{"type":51,"value":268},{"type":46,"tag":80,"props":2155,"children":2156},{"style":93},[2157],{"type":51,"value":268},{"type":46,"tag":80,"props":2159,"children":2160},{"style":275},[2161],{"type":51,"value":278},{"type":46,"tag":80,"props":2163,"children":2164},{"style":93},[2165],{"type":51,"value":283},{"type":46,"tag":80,"props":2167,"children":2168},{"style":220},[2169],{"type":51,"value":288},{"type":46,"tag":80,"props":2171,"children":2172},{"class":82,"line":150},[2173],{"type":46,"tag":80,"props":2174,"children":2175},{"style":99},[2176],{"type":51,"value":1059},{"type":46,"tag":80,"props":2178,"children":2179},{"class":82,"line":206},[2180,2184,2188,2192,2196,2201,2205,2210,2214],{"type":46,"tag":80,"props":2181,"children":2182},{"style":93},[2183],{"type":51,"value":1067},{"type":46,"tag":80,"props":2185,"children":2186},{"style":226},[2187],{"type":51,"value":311},{"type":46,"tag":80,"props":2189,"children":2190},{"style":99},[2191],{"type":51,"value":268},{"type":46,"tag":80,"props":2193,"children":2194},{"style":93},[2195],{"type":51,"value":320},{"type":46,"tag":80,"props":2197,"children":2198},{"style":265},[2199],{"type":51,"value":2200}," user",{"type":46,"tag":80,"props":2202,"children":2203},{"style":93},[2204],{"type":51,"value":330},{"type":46,"tag":80,"props":2206,"children":2207},{"style":99},[2208],{"type":51,"value":2209}," usersCollection ",{"type":46,"tag":80,"props":2211,"children":2212},{"style":93},[2213],{"type":51,"value":891},{"type":46,"tag":80,"props":2215,"children":2216},{"style":99},[2217],{"type":51,"value":344},{"type":46,"tag":80,"props":2219,"children":2220},{"class":82,"line":216},[2221,2225,2229,2233,2237,2241,2245,2249,2253,2258,2262,2266,2270,2274],{"type":46,"tag":80,"props":2222,"children":2223},{"style":93},[2224],{"type":51,"value":1067},{"type":46,"tag":80,"props":2226,"children":2227},{"style":226},[2228],{"type":51,"value":357},{"type":46,"tag":80,"props":2230,"children":2231},{"style":99},[2232],{"type":51,"value":268},{"type":46,"tag":80,"props":2234,"children":2235},{"style":93},[2236],{"type":51,"value":366},{"type":46,"tag":80,"props":2238,"children":2239},{"style":275},[2240],{"type":51,"value":2200},{"type":46,"tag":80,"props":2242,"children":2243},{"style":93},[2244],{"type":51,"value":375},{"type":46,"tag":80,"props":2246,"children":2247},{"style":220},[2248],{"type":51,"value":380},{"type":46,"tag":80,"props":2250,"children":2251},{"style":226},[2252],{"type":51,"value":112},{"type":46,"tag":80,"props":2254,"children":2255},{"style":99},[2256],{"type":51,"value":2257},"(user",{"type":46,"tag":80,"props":2259,"children":2260},{"style":93},[2261],{"type":51,"value":398},{"type":46,"tag":80,"props":2263,"children":2264},{"style":99},[2265],{"type":51,"value":1502},{"type":46,"tag":80,"props":2267,"children":2268},{"style":93},[2269],{"type":51,"value":107},{"type":46,"tag":80,"props":2271,"children":2272},{"style":226},[2273],{"type":51,"value":1474},{"type":46,"tag":80,"props":2275,"children":2276},{"style":99},[2277],{"type":51,"value":2278},"()))\n",{"type":46,"tag":80,"props":2280,"children":2281},{"class":82,"line":242},[2282,2286,2290,2294],{"type":46,"tag":80,"props":2283,"children":2284},{"style":93},[2285],{"type":51,"value":1067},{"type":46,"tag":80,"props":2287,"children":2288},{"style":226},[2289],{"type":51,"value":792},{"type":46,"tag":80,"props":2291,"children":2292},{"style":99},[2293],{"type":51,"value":234},{"type":46,"tag":80,"props":2295,"children":2296},{"style":93},[2297],{"type":51,"value":481},{"type":46,"tag":80,"props":2299,"children":2300},{"class":82,"line":291},[2301],{"type":46,"tag":80,"props":2302,"children":2303},{"style":99},[2304],{"type":51,"value":344},{"type":46,"tag":80,"props":2306,"children":2307},{"class":82,"line":300},[2308],{"type":46,"tag":80,"props":2309,"children":2310},{"emptyLinePlaceholder":210},[2311],{"type":51,"value":213},{"type":46,"tag":80,"props":2313,"children":2314},{"class":82,"line":347},[2315],{"type":46,"tag":80,"props":2316,"children":2317},{"style":807},[2318],{"type":51,"value":2319},"\u002F\u002F userQuery() → T | undefined (not Array\u003CT>)\n",{"type":46,"tag":80,"props":2321,"children":2322},{"class":82,"line":411},[2323,2327,2331,2336,2341,2345,2350,2354,2358,2363,2367,2371,2375,2379,2383,2387,2391,2395,2400,2404,2408,2412,2416],{"type":46,"tag":80,"props":2324,"children":2325},{"style":87},[2326],{"type":51,"value":1512},{"type":46,"tag":80,"props":2328,"children":2329},{"style":93},[2330],{"type":51,"value":640},{"type":46,"tag":80,"props":2332,"children":2333},{"style":524},[2334],{"type":51,"value":2335},"Show",{"type":46,"tag":80,"props":2337,"children":2338},{"style":220},[2339],{"type":51,"value":2340}," when",{"type":46,"tag":80,"props":2342,"children":2343},{"style":93},[2344],{"type":51,"value":609},{"type":46,"tag":80,"props":2346,"children":2347},{"style":226},[2348],{"type":51,"value":2349},"userQuery",{"type":46,"tag":80,"props":2351,"children":2352},{"style":99},[2353],{"type":51,"value":234},{"type":46,"tag":80,"props":2355,"children":2356},{"style":93},[2357],{"type":51,"value":623},{"type":46,"tag":80,"props":2359,"children":2360},{"style":275},[2361],{"type":51,"value":2362},"user",{"type":46,"tag":80,"props":2364,"children":2365},{"style":93},[2366],{"type":51,"value":283},{"type":46,"tag":80,"props":2368,"children":2369},{"style":220},[2370],{"type":51,"value":380},{"type":46,"tag":80,"props":2372,"children":2373},{"style":93},[2374],{"type":51,"value":640},{"type":46,"tag":80,"props":2376,"children":2377},{"style":265},[2378],{"type":51,"value":542},{"type":46,"tag":80,"props":2380,"children":2381},{"style":93},[2382],{"type":51,"value":650},{"type":46,"tag":80,"props":2384,"children":2385},{"style":226},[2386],{"type":51,"value":2362},{"type":46,"tag":80,"props":2388,"children":2389},{"style":99},[2390],{"type":51,"value":234},{"type":46,"tag":80,"props":2392,"children":2393},{"style":93},[2394],{"type":51,"value":398},{"type":46,"tag":80,"props":2396,"children":2397},{"style":99},[2398],{"type":51,"value":2399},"name",{"type":46,"tag":80,"props":2401,"children":2402},{"style":93},[2403],{"type":51,"value":667},{"type":46,"tag":80,"props":2405,"children":2406},{"style":265},[2407],{"type":51,"value":542},{"type":46,"tag":80,"props":2409,"children":2410},{"style":93},[2411],{"type":51,"value":676},{"type":46,"tag":80,"props":2413,"children":2414},{"style":524},[2415],{"type":51,"value":2335},{"type":46,"tag":80,"props":2417,"children":2418},{"style":93},[2419],{"type":51,"value":585},{"type":46,"tag":760,"props":2421,"children":2423},{"id":2422},"suspense-integration",[2424],{"type":51,"value":2425},"Suspense integration",{"type":46,"tag":68,"props":2427,"children":2429},{"className":70,"code":2428,"language":72,"meta":73,"style":73},"\u003CSuspense fallback={\u003Cdiv>Loading...\u003C\u002Fdiv>}>\n  \u003CFor each={todosQuery()}>{(todo) => \u003Cli>{todo.text}\u003C\u002Fli>}\u003C\u002FFor>\n\u003C\u002FSuspense>\n",[2430],{"type":46,"tag":76,"props":2431,"children":2432},{"__ignoreMap":73},[2433,2477,2565],{"type":46,"tag":80,"props":2434,"children":2435},{"class":82,"line":83},[2436,2441,2445,2449,2453,2457,2461,2465,2469,2473],{"type":46,"tag":80,"props":2437,"children":2438},{"style":93},[2439],{"type":51,"value":2440},"\u003C",{"type":46,"tag":80,"props":2442,"children":2443},{"style":524},[2444],{"type":51,"value":527},{"type":46,"tag":80,"props":2446,"children":2447},{"style":220},[2448],{"type":51,"value":532},{"type":46,"tag":80,"props":2450,"children":2451},{"style":93},[2452],{"type":51,"value":537},{"type":46,"tag":80,"props":2454,"children":2455},{"style":265},[2456],{"type":51,"value":542},{"type":46,"tag":80,"props":2458,"children":2459},{"style":93},[2460],{"type":51,"value":547},{"type":46,"tag":80,"props":2462,"children":2463},{"style":99},[2464],{"type":51,"value":552},{"type":46,"tag":80,"props":2466,"children":2467},{"style":93},[2468],{"type":51,"value":557},{"type":46,"tag":80,"props":2470,"children":2471},{"style":265},[2472],{"type":51,"value":542},{"type":46,"tag":80,"props":2474,"children":2475},{"style":93},[2476],{"type":51,"value":566},{"type":46,"tag":80,"props":2478,"children":2479},{"class":82,"line":150},[2480,2485,2489,2493,2497,2501,2505,2509,2513,2517,2521,2525,2529,2533,2537,2541,2545,2549,2553,2557,2561],{"type":46,"tag":80,"props":2481,"children":2482},{"style":93},[2483],{"type":51,"value":2484},"  \u003C",{"type":46,"tag":80,"props":2486,"children":2487},{"style":524},[2488],{"type":51,"value":599},{"type":46,"tag":80,"props":2490,"children":2491},{"style":220},[2492],{"type":51,"value":604},{"type":46,"tag":80,"props":2494,"children":2495},{"style":93},[2496],{"type":51,"value":609},{"type":46,"tag":80,"props":2498,"children":2499},{"style":226},[2500],{"type":51,"value":614},{"type":46,"tag":80,"props":2502,"children":2503},{"style":99},[2504],{"type":51,"value":234},{"type":46,"tag":80,"props":2506,"children":2507},{"style":93},[2508],{"type":51,"value":623},{"type":46,"tag":80,"props":2510,"children":2511},{"style":275},[2512],{"type":51,"value":393},{"type":46,"tag":80,"props":2514,"children":2515},{"style":93},[2516],{"type":51,"value":283},{"type":46,"tag":80,"props":2518,"children":2519},{"style":220},[2520],{"type":51,"value":380},{"type":46,"tag":80,"props":2522,"children":2523},{"style":93},[2524],{"type":51,"value":640},{"type":46,"tag":80,"props":2526,"children":2527},{"style":265},[2528],{"type":51,"value":645},{"type":46,"tag":80,"props":2530,"children":2531},{"style":93},[2532],{"type":51,"value":650},{"type":46,"tag":80,"props":2534,"children":2535},{"style":99},[2536],{"type":51,"value":393},{"type":46,"tag":80,"props":2538,"children":2539},{"style":93},[2540],{"type":51,"value":398},{"type":46,"tag":80,"props":2542,"children":2543},{"style":99},[2544],{"type":51,"value":51},{"type":46,"tag":80,"props":2546,"children":2547},{"style":93},[2548],{"type":51,"value":667},{"type":46,"tag":80,"props":2550,"children":2551},{"style":265},[2552],{"type":51,"value":645},{"type":46,"tag":80,"props":2554,"children":2555},{"style":93},[2556],{"type":51,"value":676},{"type":46,"tag":80,"props":2558,"children":2559},{"style":524},[2560],{"type":51,"value":599},{"type":46,"tag":80,"props":2562,"children":2563},{"style":93},[2564],{"type":51,"value":585},{"type":46,"tag":80,"props":2566,"children":2567},{"class":82,"line":206},[2568,2572,2576],{"type":46,"tag":80,"props":2569,"children":2570},{"style":93},[2571],{"type":51,"value":557},{"type":46,"tag":80,"props":2573,"children":2574},{"style":524},[2575],{"type":51,"value":527},{"type":46,"tag":80,"props":2577,"children":2578},{"style":93},[2579],{"type":51,"value":585},{"type":46,"tag":47,"props":2581,"children":2582},{},[2583,2588,2590,2596,2598,2604],{"type":46,"tag":76,"props":2584,"children":2586},{"className":2585},[],[2587],{"type":51,"value":765},{"type":51,"value":2589}," integrates with Solid's ",{"type":46,"tag":76,"props":2591,"children":2593},{"className":2592},[],[2594],{"type":51,"value":2595},"createResource",{"type":51,"value":2597}," — wrap in ",{"type":46,"tag":76,"props":2599,"children":2601},{"className":2600},[],[2602],{"type":51,"value":2603},"\u003CSuspense>",{"type":51,"value":2605}," for loading states.",{"type":46,"tag":61,"props":2607,"children":2609},{"id":2608},"includes-hierarchical-data",[2610],{"type":51,"value":2611},"Includes (Hierarchical Data)",{"type":46,"tag":47,"props":2613,"children":2614},{},[2615,2617,2623,2625,2631,2633,2638],{"type":51,"value":2616},"When a query uses includes (subqueries in ",{"type":46,"tag":76,"props":2618,"children":2620},{"className":2619},[],[2621],{"type":51,"value":2622},"select",{"type":51,"value":2624},"), each child field is a live ",{"type":46,"tag":76,"props":2626,"children":2628},{"className":2627},[],[2629],{"type":51,"value":2630},"Collection",{"type":51,"value":2632}," by default. Subscribe to it with ",{"type":46,"tag":76,"props":2634,"children":2636},{"className":2635},[],[2637],{"type":51,"value":765},{"type":51,"value":2639}," in a subcomponent:",{"type":46,"tag":68,"props":2641,"children":2643},{"className":70,"code":2642,"language":72,"meta":73,"style":73},"function ProjectList() {\n  const projectsQuery = useLiveQuery((q) =>\n    q.from({ p: projectsCollection }).select(({ p }) => ({\n      id: p.id,\n      name: p.name,\n      issues: q\n        .from({ i: issuesCollection })\n        .where(({ i }) => eq(i.projectId, p.id))\n        .select(({ i }) => ({ id: i.id, title: i.title })),\n    })),\n  )\n\n  return (\n    \u003CFor each={projectsQuery()}>\n      {(project) => (\n        \u003Cdiv>\n          {project.name}\n          \u003CIssueList issuesCollection={project.issues} \u002F>\n        \u003C\u002Fdiv>\n      )}\n    \u003C\u002FFor>\n  )\n}\n\n\u002F\u002F Child component subscribes to the child Collection\nfunction IssueList(props: { issuesCollection: Collection }) {\n  const issuesQuery = useLiveQuery(() => props.issuesCollection)\n  return \u003CFor each={issuesQuery()}>{(issue) => \u003Cdiv>{issue.title}\u003C\u002Fdiv>}\u003C\u002FFor>\n}\n",[2644],{"type":46,"tag":76,"props":2645,"children":2646},{"__ignoreMap":73},[2647,2667,2707,2789,2817,2845,2861,2903,2976,3074,3090,3097,3104,3115,3148,3173,3188,3212,3251,3267,3279,3294,3301,3308,3315,3323,3373,3423,3516],{"type":46,"tag":80,"props":2648,"children":2649},{"class":82,"line":83},[2650,2654,2659,2663],{"type":46,"tag":80,"props":2651,"children":2652},{"style":220},[2653],{"type":51,"value":223},{"type":46,"tag":80,"props":2655,"children":2656},{"style":226},[2657],{"type":51,"value":2658}," ProjectList",{"type":46,"tag":80,"props":2660,"children":2661},{"style":93},[2662],{"type":51,"value":234},{"type":46,"tag":80,"props":2664,"children":2665},{"style":93},[2666],{"type":51,"value":239},{"type":46,"tag":80,"props":2668,"children":2669},{"class":82,"line":150},[2670,2674,2679,2683,2687,2691,2695,2699,2703],{"type":46,"tag":80,"props":2671,"children":2672},{"style":220},[2673],{"type":51,"value":248},{"type":46,"tag":80,"props":2675,"children":2676},{"style":99},[2677],{"type":51,"value":2678}," projectsQuery",{"type":46,"tag":80,"props":2680,"children":2681},{"style":93},[2682],{"type":51,"value":258},{"type":46,"tag":80,"props":2684,"children":2685},{"style":226},[2686],{"type":51,"value":102},{"type":46,"tag":80,"props":2688,"children":2689},{"style":265},[2690],{"type":51,"value":268},{"type":46,"tag":80,"props":2692,"children":2693},{"style":93},[2694],{"type":51,"value":268},{"type":46,"tag":80,"props":2696,"children":2697},{"style":275},[2698],{"type":51,"value":278},{"type":46,"tag":80,"props":2700,"children":2701},{"style":93},[2702],{"type":51,"value":283},{"type":46,"tag":80,"props":2704,"children":2705},{"style":220},[2706],{"type":51,"value":288},{"type":46,"tag":80,"props":2708,"children":2709},{"class":82,"line":206},[2710,2715,2719,2723,2727,2731,2736,2740,2745,2749,2753,2757,2761,2765,2769,2773,2777,2781,2785],{"type":46,"tag":80,"props":2711,"children":2712},{"style":99},[2713],{"type":51,"value":2714},"    q",{"type":46,"tag":80,"props":2716,"children":2717},{"style":93},[2718],{"type":51,"value":398},{"type":46,"tag":80,"props":2720,"children":2721},{"style":226},[2722],{"type":51,"value":311},{"type":46,"tag":80,"props":2724,"children":2725},{"style":265},[2726],{"type":51,"value":268},{"type":46,"tag":80,"props":2728,"children":2729},{"style":93},[2730],{"type":51,"value":320},{"type":46,"tag":80,"props":2732,"children":2733},{"style":265},[2734],{"type":51,"value":2735}," p",{"type":46,"tag":80,"props":2737,"children":2738},{"style":93},[2739],{"type":51,"value":330},{"type":46,"tag":80,"props":2741,"children":2742},{"style":99},[2743],{"type":51,"value":2744}," projectsCollection",{"type":46,"tag":80,"props":2746,"children":2747},{"style":93},[2748],{"type":51,"value":126},{"type":46,"tag":80,"props":2750,"children":2751},{"style":265},[2752],{"type":51,"value":283},{"type":46,"tag":80,"props":2754,"children":2755},{"style":93},[2756],{"type":51,"value":398},{"type":46,"tag":80,"props":2758,"children":2759},{"style":226},[2760],{"type":51,"value":2622},{"type":46,"tag":80,"props":2762,"children":2763},{"style":265},[2764],{"type":51,"value":268},{"type":46,"tag":80,"props":2766,"children":2767},{"style":93},[2768],{"type":51,"value":366},{"type":46,"tag":80,"props":2770,"children":2771},{"style":275},[2772],{"type":51,"value":2735},{"type":46,"tag":80,"props":2774,"children":2775},{"style":93},[2776],{"type":51,"value":375},{"type":46,"tag":80,"props":2778,"children":2779},{"style":220},[2780],{"type":51,"value":380},{"type":46,"tag":80,"props":2782,"children":2783},{"style":265},[2784],{"type":51,"value":1225},{"type":46,"tag":80,"props":2786,"children":2787},{"style":93},[2788],{"type":51,"value":1230},{"type":46,"tag":80,"props":2790,"children":2791},{"class":82,"line":216},[2792,2797,2801,2805,2809,2813],{"type":46,"tag":80,"props":2793,"children":2794},{"style":265},[2795],{"type":51,"value":2796},"      id",{"type":46,"tag":80,"props":2798,"children":2799},{"style":93},[2800],{"type":51,"value":330},{"type":46,"tag":80,"props":2802,"children":2803},{"style":99},[2804],{"type":51,"value":2735},{"type":46,"tag":80,"props":2806,"children":2807},{"style":93},[2808],{"type":51,"value":398},{"type":46,"tag":80,"props":2810,"children":2811},{"style":99},[2812],{"type":51,"value":1502},{"type":46,"tag":80,"props":2814,"children":2815},{"style":93},[2816],{"type":51,"value":481},{"type":46,"tag":80,"props":2818,"children":2819},{"class":82,"line":242},[2820,2825,2829,2833,2837,2841],{"type":46,"tag":80,"props":2821,"children":2822},{"style":265},[2823],{"type":51,"value":2824},"      name",{"type":46,"tag":80,"props":2826,"children":2827},{"style":93},[2828],{"type":51,"value":330},{"type":46,"tag":80,"props":2830,"children":2831},{"style":99},[2832],{"type":51,"value":2735},{"type":46,"tag":80,"props":2834,"children":2835},{"style":93},[2836],{"type":51,"value":398},{"type":46,"tag":80,"props":2838,"children":2839},{"style":99},[2840],{"type":51,"value":2399},{"type":46,"tag":80,"props":2842,"children":2843},{"style":93},[2844],{"type":51,"value":481},{"type":46,"tag":80,"props":2846,"children":2847},{"class":82,"line":291},[2848,2853,2857],{"type":46,"tag":80,"props":2849,"children":2850},{"style":265},[2851],{"type":51,"value":2852},"      issues",{"type":46,"tag":80,"props":2854,"children":2855},{"style":93},[2856],{"type":51,"value":330},{"type":46,"tag":80,"props":2858,"children":2859},{"style":99},[2860],{"type":51,"value":1530},{"type":46,"tag":80,"props":2862,"children":2863},{"class":82,"line":300},[2864,2869,2873,2877,2881,2886,2890,2895,2899],{"type":46,"tag":80,"props":2865,"children":2866},{"style":93},[2867],{"type":51,"value":2868},"        .",{"type":46,"tag":80,"props":2870,"children":2871},{"style":226},[2872],{"type":51,"value":311},{"type":46,"tag":80,"props":2874,"children":2875},{"style":265},[2876],{"type":51,"value":268},{"type":46,"tag":80,"props":2878,"children":2879},{"style":93},[2880],{"type":51,"value":320},{"type":46,"tag":80,"props":2882,"children":2883},{"style":265},[2884],{"type":51,"value":2885}," i",{"type":46,"tag":80,"props":2887,"children":2888},{"style":93},[2889],{"type":51,"value":330},{"type":46,"tag":80,"props":2891,"children":2892},{"style":99},[2893],{"type":51,"value":2894}," issuesCollection",{"type":46,"tag":80,"props":2896,"children":2897},{"style":93},[2898],{"type":51,"value":126},{"type":46,"tag":80,"props":2900,"children":2901},{"style":265},[2902],{"type":51,"value":344},{"type":46,"tag":80,"props":2904,"children":2905},{"class":82,"line":347},[2906,2910,2914,2918,2922,2926,2930,2934,2938,2942,2947,2951,2956,2960,2964,2968,2972],{"type":46,"tag":80,"props":2907,"children":2908},{"style":93},[2909],{"type":51,"value":2868},{"type":46,"tag":80,"props":2911,"children":2912},{"style":226},[2913],{"type":51,"value":357},{"type":46,"tag":80,"props":2915,"children":2916},{"style":265},[2917],{"type":51,"value":268},{"type":46,"tag":80,"props":2919,"children":2920},{"style":93},[2921],{"type":51,"value":366},{"type":46,"tag":80,"props":2923,"children":2924},{"style":275},[2925],{"type":51,"value":2885},{"type":46,"tag":80,"props":2927,"children":2928},{"style":93},[2929],{"type":51,"value":375},{"type":46,"tag":80,"props":2931,"children":2932},{"style":220},[2933],{"type":51,"value":380},{"type":46,"tag":80,"props":2935,"children":2936},{"style":226},[2937],{"type":51,"value":112},{"type":46,"tag":80,"props":2939,"children":2940},{"style":265},[2941],{"type":51,"value":268},{"type":46,"tag":80,"props":2943,"children":2944},{"style":99},[2945],{"type":51,"value":2946},"i",{"type":46,"tag":80,"props":2948,"children":2949},{"style":93},[2950],{"type":51,"value":398},{"type":46,"tag":80,"props":2952,"children":2953},{"style":99},[2954],{"type":51,"value":2955},"projectId",{"type":46,"tag":80,"props":2957,"children":2958},{"style":93},[2959],{"type":51,"value":107},{"type":46,"tag":80,"props":2961,"children":2962},{"style":99},[2963],{"type":51,"value":2735},{"type":46,"tag":80,"props":2965,"children":2966},{"style":93},[2967],{"type":51,"value":398},{"type":46,"tag":80,"props":2969,"children":2970},{"style":99},[2971],{"type":51,"value":1502},{"type":46,"tag":80,"props":2973,"children":2974},{"style":265},[2975],{"type":51,"value":408},{"type":46,"tag":80,"props":2977,"children":2978},{"class":82,"line":411},[2979,2983,2987,2991,2995,2999,3003,3007,3011,3015,3019,3023,3027,3031,3035,3039,3044,3048,3052,3056,3061,3065,3070],{"type":46,"tag":80,"props":2980,"children":2981},{"style":93},[2982],{"type":51,"value":2868},{"type":46,"tag":80,"props":2984,"children":2985},{"style":226},[2986],{"type":51,"value":2622},{"type":46,"tag":80,"props":2988,"children":2989},{"style":265},[2990],{"type":51,"value":268},{"type":46,"tag":80,"props":2992,"children":2993},{"style":93},[2994],{"type":51,"value":366},{"type":46,"tag":80,"props":2996,"children":2997},{"style":275},[2998],{"type":51,"value":2885},{"type":46,"tag":80,"props":3000,"children":3001},{"style":93},[3002],{"type":51,"value":375},{"type":46,"tag":80,"props":3004,"children":3005},{"style":220},[3006],{"type":51,"value":380},{"type":46,"tag":80,"props":3008,"children":3009},{"style":265},[3010],{"type":51,"value":1225},{"type":46,"tag":80,"props":3012,"children":3013},{"style":93},[3014],{"type":51,"value":320},{"type":46,"tag":80,"props":3016,"children":3017},{"style":265},[3018],{"type":51,"value":1465},{"type":46,"tag":80,"props":3020,"children":3021},{"style":93},[3022],{"type":51,"value":330},{"type":46,"tag":80,"props":3024,"children":3025},{"style":99},[3026],{"type":51,"value":2885},{"type":46,"tag":80,"props":3028,"children":3029},{"style":93},[3030],{"type":51,"value":398},{"type":46,"tag":80,"props":3032,"children":3033},{"style":99},[3034],{"type":51,"value":1502},{"type":46,"tag":80,"props":3036,"children":3037},{"style":93},[3038],{"type":51,"value":107},{"type":46,"tag":80,"props":3040,"children":3041},{"style":265},[3042],{"type":51,"value":3043}," title",{"type":46,"tag":80,"props":3045,"children":3046},{"style":93},[3047],{"type":51,"value":330},{"type":46,"tag":80,"props":3049,"children":3050},{"style":99},[3051],{"type":51,"value":2885},{"type":46,"tag":80,"props":3053,"children":3054},{"style":93},[3055],{"type":51,"value":398},{"type":46,"tag":80,"props":3057,"children":3058},{"style":99},[3059],{"type":51,"value":3060},"title",{"type":46,"tag":80,"props":3062,"children":3063},{"style":93},[3064],{"type":51,"value":126},{"type":46,"tag":80,"props":3066,"children":3067},{"style":265},[3068],{"type":51,"value":3069},"))",{"type":46,"tag":80,"props":3071,"children":3072},{"style":93},[3073],{"type":51,"value":481},{"type":46,"tag":80,"props":3075,"children":3076},{"class":82,"line":484},[3077,3082,3086],{"type":46,"tag":80,"props":3078,"children":3079},{"style":93},[3080],{"type":51,"value":3081},"    }",{"type":46,"tag":80,"props":3083,"children":3084},{"style":265},[3085],{"type":51,"value":3069},{"type":46,"tag":80,"props":3087,"children":3088},{"style":93},[3089],{"type":51,"value":481},{"type":46,"tag":80,"props":3091,"children":3092},{"class":82,"line":493},[3093],{"type":46,"tag":80,"props":3094,"children":3095},{"style":265},[3096],{"type":51,"value":490},{"type":46,"tag":80,"props":3098,"children":3099},{"class":82,"line":501},[3100],{"type":46,"tag":80,"props":3101,"children":3102},{"emptyLinePlaceholder":210},[3103],{"type":51,"value":213},{"type":46,"tag":80,"props":3105,"children":3106},{"class":82,"line":515},[3107,3111],{"type":46,"tag":80,"props":3108,"children":3109},{"style":87},[3110],{"type":51,"value":507},{"type":46,"tag":80,"props":3112,"children":3113},{"style":265},[3114],{"type":51,"value":512},{"type":46,"tag":80,"props":3116,"children":3117},{"class":82,"line":569},[3118,3122,3126,3130,3134,3139,3143],{"type":46,"tag":80,"props":3119,"children":3120},{"style":93},[3121],{"type":51,"value":521},{"type":46,"tag":80,"props":3123,"children":3124},{"style":524},[3125],{"type":51,"value":599},{"type":46,"tag":80,"props":3127,"children":3128},{"style":220},[3129],{"type":51,"value":604},{"type":46,"tag":80,"props":3131,"children":3132},{"style":93},[3133],{"type":51,"value":609},{"type":46,"tag":80,"props":3135,"children":3136},{"style":226},[3137],{"type":51,"value":3138},"projectsQuery",{"type":46,"tag":80,"props":3140,"children":3141},{"style":99},[3142],{"type":51,"value":234},{"type":46,"tag":80,"props":3144,"children":3145},{"style":93},[3146],{"type":51,"value":3147},"}>\n",{"type":46,"tag":80,"props":3149,"children":3150},{"class":82,"line":588},[3151,3156,3161,3165,3169],{"type":46,"tag":80,"props":3152,"children":3153},{"style":93},[3154],{"type":51,"value":3155},"      {(",{"type":46,"tag":80,"props":3157,"children":3158},{"style":275},[3159],{"type":51,"value":3160},"project",{"type":46,"tag":80,"props":3162,"children":3163},{"style":93},[3164],{"type":51,"value":283},{"type":46,"tag":80,"props":3166,"children":3167},{"style":220},[3168],{"type":51,"value":380},{"type":46,"tag":80,"props":3170,"children":3171},{"style":99},[3172],{"type":51,"value":512},{"type":46,"tag":80,"props":3174,"children":3175},{"class":82,"line":687},[3176,3180,3184],{"type":46,"tag":80,"props":3177,"children":3178},{"style":93},[3179],{"type":51,"value":594},{"type":46,"tag":80,"props":3181,"children":3182},{"style":265},[3183],{"type":51,"value":542},{"type":46,"tag":80,"props":3185,"children":3186},{"style":93},[3187],{"type":51,"value":585},{"type":46,"tag":80,"props":3189,"children":3190},{"class":82,"line":704},[3191,3196,3200,3204,3208],{"type":46,"tag":80,"props":3192,"children":3193},{"style":93},[3194],{"type":51,"value":3195},"          {",{"type":46,"tag":80,"props":3197,"children":3198},{"style":99},[3199],{"type":51,"value":3160},{"type":46,"tag":80,"props":3201,"children":3202},{"style":93},[3203],{"type":51,"value":398},{"type":46,"tag":80,"props":3205,"children":3206},{"style":99},[3207],{"type":51,"value":2399},{"type":46,"tag":80,"props":3209,"children":3210},{"style":93},[3211],{"type":51,"value":735},{"type":46,"tag":80,"props":3213,"children":3214},{"class":82,"line":721},[3215,3220,3225,3229,3233,3237,3241,3246],{"type":46,"tag":80,"props":3216,"children":3217},{"style":93},[3218],{"type":51,"value":3219},"          \u003C",{"type":46,"tag":80,"props":3221,"children":3222},{"style":524},[3223],{"type":51,"value":3224},"IssueList",{"type":46,"tag":80,"props":3226,"children":3227},{"style":220},[3228],{"type":51,"value":2894},{"type":46,"tag":80,"props":3230,"children":3231},{"style":93},[3232],{"type":51,"value":609},{"type":46,"tag":80,"props":3234,"children":3235},{"style":99},[3236],{"type":51,"value":3160},{"type":46,"tag":80,"props":3238,"children":3239},{"style":93},[3240],{"type":51,"value":398},{"type":46,"tag":80,"props":3242,"children":3243},{"style":99},[3244],{"type":51,"value":3245},"issues",{"type":46,"tag":80,"props":3247,"children":3248},{"style":93},[3249],{"type":51,"value":3250},"} \u002F>\n",{"type":46,"tag":80,"props":3252,"children":3253},{"class":82,"line":729},[3254,3259,3263],{"type":46,"tag":80,"props":3255,"children":3256},{"style":93},[3257],{"type":51,"value":3258},"        \u003C\u002F",{"type":46,"tag":80,"props":3260,"children":3261},{"style":265},[3262],{"type":51,"value":542},{"type":46,"tag":80,"props":3264,"children":3265},{"style":93},[3266],{"type":51,"value":585},{"type":46,"tag":80,"props":3268,"children":3269},{"class":82,"line":1233},[3270,3275],{"type":46,"tag":80,"props":3271,"children":3272},{"style":99},[3273],{"type":51,"value":3274},"      )",{"type":46,"tag":80,"props":3276,"children":3277},{"style":93},[3278],{"type":51,"value":735},{"type":46,"tag":80,"props":3280,"children":3281},{"class":82,"line":1306},[3282,3286,3290],{"type":46,"tag":80,"props":3283,"children":3284},{"style":93},[3285],{"type":51,"value":710},{"type":46,"tag":80,"props":3287,"children":3288},{"style":524},[3289],{"type":51,"value":599},{"type":46,"tag":80,"props":3291,"children":3292},{"style":93},[3293],{"type":51,"value":585},{"type":46,"tag":80,"props":3295,"children":3296},{"class":82,"line":1328},[3297],{"type":46,"tag":80,"props":3298,"children":3299},{"style":265},[3300],{"type":51,"value":490},{"type":46,"tag":80,"props":3302,"children":3303},{"class":82,"line":1340},[3304],{"type":46,"tag":80,"props":3305,"children":3306},{"style":93},[3307],{"type":51,"value":735},{"type":46,"tag":80,"props":3309,"children":3310},{"class":82,"line":1348},[3311],{"type":46,"tag":80,"props":3312,"children":3313},{"emptyLinePlaceholder":210},[3314],{"type":51,"value":213},{"type":46,"tag":80,"props":3316,"children":3317},{"class":82,"line":1357},[3318],{"type":46,"tag":80,"props":3319,"children":3320},{"style":807},[3321],{"type":51,"value":3322},"\u002F\u002F Child component subscribes to the child Collection\n",{"type":46,"tag":80,"props":3324,"children":3325},{"class":82,"line":1394},[3326,3330,3335,3339,3344,3348,3352,3356,3360,3365,3369],{"type":46,"tag":80,"props":3327,"children":3328},{"style":220},[3329],{"type":51,"value":223},{"type":46,"tag":80,"props":3331,"children":3332},{"style":226},[3333],{"type":51,"value":3334}," IssueList",{"type":46,"tag":80,"props":3336,"children":3337},{"style":93},[3338],{"type":51,"value":268},{"type":46,"tag":80,"props":3340,"children":3341},{"style":275},[3342],{"type":51,"value":3343},"props",{"type":46,"tag":80,"props":3345,"children":3346},{"style":93},[3347],{"type":51,"value":330},{"type":46,"tag":80,"props":3349,"children":3350},{"style":93},[3351],{"type":51,"value":96},{"type":46,"tag":80,"props":3353,"children":3354},{"style":265},[3355],{"type":51,"value":2894},{"type":46,"tag":80,"props":3357,"children":3358},{"style":93},[3359],{"type":51,"value":330},{"type":46,"tag":80,"props":3361,"children":3362},{"style":524},[3363],{"type":51,"value":3364}," Collection",{"type":46,"tag":80,"props":3366,"children":3367},{"style":93},[3368],{"type":51,"value":375},{"type":46,"tag":80,"props":3370,"children":3371},{"style":93},[3372],{"type":51,"value":239},{"type":46,"tag":80,"props":3374,"children":3375},{"class":82,"line":1402},[3376,3380,3385,3389,3393,3397,3401,3405,3410,3414,3419],{"type":46,"tag":80,"props":3377,"children":3378},{"style":220},[3379],{"type":51,"value":248},{"type":46,"tag":80,"props":3381,"children":3382},{"style":99},[3383],{"type":51,"value":3384}," issuesQuery",{"type":46,"tag":80,"props":3386,"children":3387},{"style":93},[3388],{"type":51,"value":258},{"type":46,"tag":80,"props":3390,"children":3391},{"style":226},[3392],{"type":51,"value":102},{"type":46,"tag":80,"props":3394,"children":3395},{"style":265},[3396],{"type":51,"value":268},{"type":46,"tag":80,"props":3398,"children":3399},{"style":93},[3400],{"type":51,"value":234},{"type":46,"tag":80,"props":3402,"children":3403},{"style":220},[3404],{"type":51,"value":380},{"type":46,"tag":80,"props":3406,"children":3407},{"style":99},[3408],{"type":51,"value":3409}," props",{"type":46,"tag":80,"props":3411,"children":3412},{"style":93},[3413],{"type":51,"value":398},{"type":46,"tag":80,"props":3415,"children":3416},{"style":99},[3417],{"type":51,"value":3418},"issuesCollection",{"type":46,"tag":80,"props":3420,"children":3421},{"style":265},[3422],{"type":51,"value":344},{"type":46,"tag":80,"props":3424,"children":3425},{"class":82,"line":1411},[3426,3430,3434,3438,3442,3446,3451,3455,3459,3464,3468,3472,3476,3480,3484,3488,3492,3496,3500,3504,3508,3512],{"type":46,"tag":80,"props":3427,"children":3428},{"style":87},[3429],{"type":51,"value":507},{"type":46,"tag":80,"props":3431,"children":3432},{"style":93},[3433],{"type":51,"value":640},{"type":46,"tag":80,"props":3435,"children":3436},{"style":524},[3437],{"type":51,"value":599},{"type":46,"tag":80,"props":3439,"children":3440},{"style":220},[3441],{"type":51,"value":604},{"type":46,"tag":80,"props":3443,"children":3444},{"style":93},[3445],{"type":51,"value":609},{"type":46,"tag":80,"props":3447,"children":3448},{"style":226},[3449],{"type":51,"value":3450},"issuesQuery",{"type":46,"tag":80,"props":3452,"children":3453},{"style":99},[3454],{"type":51,"value":234},{"type":46,"tag":80,"props":3456,"children":3457},{"style":93},[3458],{"type":51,"value":623},{"type":46,"tag":80,"props":3460,"children":3461},{"style":275},[3462],{"type":51,"value":3463},"issue",{"type":46,"tag":80,"props":3465,"children":3466},{"style":93},[3467],{"type":51,"value":283},{"type":46,"tag":80,"props":3469,"children":3470},{"style":220},[3471],{"type":51,"value":380},{"type":46,"tag":80,"props":3473,"children":3474},{"style":93},[3475],{"type":51,"value":640},{"type":46,"tag":80,"props":3477,"children":3478},{"style":265},[3479],{"type":51,"value":542},{"type":46,"tag":80,"props":3481,"children":3482},{"style":93},[3483],{"type":51,"value":650},{"type":46,"tag":80,"props":3485,"children":3486},{"style":99},[3487],{"type":51,"value":3463},{"type":46,"tag":80,"props":3489,"children":3490},{"style":93},[3491],{"type":51,"value":398},{"type":46,"tag":80,"props":3493,"children":3494},{"style":99},[3495],{"type":51,"value":3060},{"type":46,"tag":80,"props":3497,"children":3498},{"style":93},[3499],{"type":51,"value":667},{"type":46,"tag":80,"props":3501,"children":3502},{"style":265},[3503],{"type":51,"value":542},{"type":46,"tag":80,"props":3505,"children":3506},{"style":93},[3507],{"type":51,"value":676},{"type":46,"tag":80,"props":3509,"children":3510},{"style":524},[3511],{"type":51,"value":599},{"type":46,"tag":80,"props":3513,"children":3514},{"style":93},[3515],{"type":51,"value":585},{"type":46,"tag":80,"props":3517,"children":3518},{"class":82,"line":1455},[3519],{"type":46,"tag":80,"props":3520,"children":3521},{"style":93},[3522],{"type":51,"value":735},{"type":46,"tag":47,"props":3524,"children":3525},{},[3526,3528,3534],{"type":51,"value":3527},"Note: wrap the child Collection in an Accessor (",{"type":46,"tag":76,"props":3529,"children":3531},{"className":3530},[],[3532],{"type":51,"value":3533},"() => props.issuesCollection",{"type":51,"value":3535},") to match the overload signature.",{"type":46,"tag":47,"props":3537,"children":3538},{},[3539,3541,3547],{"type":51,"value":3540},"With ",{"type":46,"tag":76,"props":3542,"children":3544},{"className":3543},[],[3545],{"type":51,"value":3546},"toArray()",{"type":51,"value":3548},", child results are plain arrays and the parent re-emits on child changes:",{"type":46,"tag":68,"props":3550,"children":3552},{"className":70,"code":3551,"language":72,"meta":73,"style":73},"import { toArray, eq } from '@tanstack\u002Fsolid-db'\n\nconst projectsQuery = useLiveQuery((q) =>\n  q.from({ p: projectsCollection }).select(({ p }) => ({\n    id: p.id,\n    name: p.name,\n    issues: toArray(\n      q\n        .from({ i: issuesCollection })\n        .where(({ i }) => eq(i.projectId, p.id))\n        .select(({ i }) => ({ id: i.id, title: i.title })),\n    ),\n  })),\n)\n\u002F\u002F project.issues is a plain array — no subcomponent needed\n",[3553],{"type":46,"tag":76,"props":3554,"children":3555},{"__ignoreMap":73},[3556,3600,3607,3647,3727,3755,3783,3804,3812,3852,3917,4013,4025,4041,4048],{"type":46,"tag":80,"props":3557,"children":3558},{"class":82,"line":83},[3559,3563,3567,3572,3576,3580,3584,3588,3592,3596],{"type":46,"tag":80,"props":3560,"children":3561},{"style":87},[3562],{"type":51,"value":90},{"type":46,"tag":80,"props":3564,"children":3565},{"style":93},[3566],{"type":51,"value":96},{"type":46,"tag":80,"props":3568,"children":3569},{"style":99},[3570],{"type":51,"value":3571}," toArray",{"type":46,"tag":80,"props":3573,"children":3574},{"style":93},[3575],{"type":51,"value":107},{"type":46,"tag":80,"props":3577,"children":3578},{"style":99},[3579],{"type":51,"value":112},{"type":46,"tag":80,"props":3581,"children":3582},{"style":93},[3583],{"type":51,"value":126},{"type":46,"tag":80,"props":3585,"children":3586},{"style":87},[3587],{"type":51,"value":131},{"type":46,"tag":80,"props":3589,"children":3590},{"style":93},[3591],{"type":51,"value":136},{"type":46,"tag":80,"props":3593,"children":3594},{"style":139},[3595],{"type":51,"value":142},{"type":46,"tag":80,"props":3597,"children":3598},{"style":93},[3599],{"type":51,"value":147},{"type":46,"tag":80,"props":3601,"children":3602},{"class":82,"line":150},[3603],{"type":46,"tag":80,"props":3604,"children":3605},{"emptyLinePlaceholder":210},[3606],{"type":51,"value":213},{"type":46,"tag":80,"props":3608,"children":3609},{"class":82,"line":206},[3610,3614,3619,3623,3627,3631,3635,3639,3643],{"type":46,"tag":80,"props":3611,"children":3612},{"style":220},[3613],{"type":51,"value":818},{"type":46,"tag":80,"props":3615,"children":3616},{"style":99},[3617],{"type":51,"value":3618}," projectsQuery ",{"type":46,"tag":80,"props":3620,"children":3621},{"style":93},[3622],{"type":51,"value":828},{"type":46,"tag":80,"props":3624,"children":3625},{"style":226},[3626],{"type":51,"value":102},{"type":46,"tag":80,"props":3628,"children":3629},{"style":99},[3630],{"type":51,"value":268},{"type":46,"tag":80,"props":3632,"children":3633},{"style":93},[3634],{"type":51,"value":268},{"type":46,"tag":80,"props":3636,"children":3637},{"style":275},[3638],{"type":51,"value":278},{"type":46,"tag":80,"props":3640,"children":3641},{"style":93},[3642],{"type":51,"value":283},{"type":46,"tag":80,"props":3644,"children":3645},{"style":220},[3646],{"type":51,"value":288},{"type":46,"tag":80,"props":3648,"children":3649},{"class":82,"line":216},[3650,3654,3658,3662,3666,3670,3674,3678,3683,3687,3691,3695,3699,3703,3707,3711,3715,3719,3723],{"type":46,"tag":80,"props":3651,"children":3652},{"style":99},[3653],{"type":51,"value":1988},{"type":46,"tag":80,"props":3655,"children":3656},{"style":93},[3657],{"type":51,"value":398},{"type":46,"tag":80,"props":3659,"children":3660},{"style":226},[3661],{"type":51,"value":311},{"type":46,"tag":80,"props":3663,"children":3664},{"style":99},[3665],{"type":51,"value":268},{"type":46,"tag":80,"props":3667,"children":3668},{"style":93},[3669],{"type":51,"value":320},{"type":46,"tag":80,"props":3671,"children":3672},{"style":265},[3673],{"type":51,"value":2735},{"type":46,"tag":80,"props":3675,"children":3676},{"style":93},[3677],{"type":51,"value":330},{"type":46,"tag":80,"props":3679,"children":3680},{"style":99},[3681],{"type":51,"value":3682}," projectsCollection ",{"type":46,"tag":80,"props":3684,"children":3685},{"style":93},[3686],{"type":51,"value":891},{"type":46,"tag":80,"props":3688,"children":3689},{"style":99},[3690],{"type":51,"value":283},{"type":46,"tag":80,"props":3692,"children":3693},{"style":93},[3694],{"type":51,"value":398},{"type":46,"tag":80,"props":3696,"children":3697},{"style":226},[3698],{"type":51,"value":2622},{"type":46,"tag":80,"props":3700,"children":3701},{"style":99},[3702],{"type":51,"value":268},{"type":46,"tag":80,"props":3704,"children":3705},{"style":93},[3706],{"type":51,"value":366},{"type":46,"tag":80,"props":3708,"children":3709},{"style":275},[3710],{"type":51,"value":2735},{"type":46,"tag":80,"props":3712,"children":3713},{"style":93},[3714],{"type":51,"value":375},{"type":46,"tag":80,"props":3716,"children":3717},{"style":220},[3718],{"type":51,"value":380},{"type":46,"tag":80,"props":3720,"children":3721},{"style":99},[3722],{"type":51,"value":1225},{"type":46,"tag":80,"props":3724,"children":3725},{"style":93},[3726],{"type":51,"value":1230},{"type":46,"tag":80,"props":3728,"children":3729},{"class":82,"line":242},[3730,3735,3739,3743,3747,3751],{"type":46,"tag":80,"props":3731,"children":3732},{"style":265},[3733],{"type":51,"value":3734},"    id",{"type":46,"tag":80,"props":3736,"children":3737},{"style":93},[3738],{"type":51,"value":330},{"type":46,"tag":80,"props":3740,"children":3741},{"style":99},[3742],{"type":51,"value":2735},{"type":46,"tag":80,"props":3744,"children":3745},{"style":93},[3746],{"type":51,"value":398},{"type":46,"tag":80,"props":3748,"children":3749},{"style":99},[3750],{"type":51,"value":1502},{"type":46,"tag":80,"props":3752,"children":3753},{"style":93},[3754],{"type":51,"value":481},{"type":46,"tag":80,"props":3756,"children":3757},{"class":82,"line":291},[3758,3763,3767,3771,3775,3779],{"type":46,"tag":80,"props":3759,"children":3760},{"style":265},[3761],{"type":51,"value":3762},"    name",{"type":46,"tag":80,"props":3764,"children":3765},{"style":93},[3766],{"type":51,"value":330},{"type":46,"tag":80,"props":3768,"children":3769},{"style":99},[3770],{"type":51,"value":2735},{"type":46,"tag":80,"props":3772,"children":3773},{"style":93},[3774],{"type":51,"value":398},{"type":46,"tag":80,"props":3776,"children":3777},{"style":99},[3778],{"type":51,"value":2399},{"type":46,"tag":80,"props":3780,"children":3781},{"style":93},[3782],{"type":51,"value":481},{"type":46,"tag":80,"props":3784,"children":3785},{"class":82,"line":300},[3786,3791,3795,3799],{"type":46,"tag":80,"props":3787,"children":3788},{"style":265},[3789],{"type":51,"value":3790},"    issues",{"type":46,"tag":80,"props":3792,"children":3793},{"style":93},[3794],{"type":51,"value":330},{"type":46,"tag":80,"props":3796,"children":3797},{"style":226},[3798],{"type":51,"value":3571},{"type":46,"tag":80,"props":3800,"children":3801},{"style":99},[3802],{"type":51,"value":3803},"(\n",{"type":46,"tag":80,"props":3805,"children":3806},{"class":82,"line":347},[3807],{"type":46,"tag":80,"props":3808,"children":3809},{"style":99},[3810],{"type":51,"value":3811},"      q\n",{"type":46,"tag":80,"props":3813,"children":3814},{"class":82,"line":411},[3815,3819,3823,3827,3831,3835,3839,3844,3848],{"type":46,"tag":80,"props":3816,"children":3817},{"style":93},[3818],{"type":51,"value":2868},{"type":46,"tag":80,"props":3820,"children":3821},{"style":226},[3822],{"type":51,"value":311},{"type":46,"tag":80,"props":3824,"children":3825},{"style":99},[3826],{"type":51,"value":268},{"type":46,"tag":80,"props":3828,"children":3829},{"style":93},[3830],{"type":51,"value":320},{"type":46,"tag":80,"props":3832,"children":3833},{"style":265},[3834],{"type":51,"value":2885},{"type":46,"tag":80,"props":3836,"children":3837},{"style":93},[3838],{"type":51,"value":330},{"type":46,"tag":80,"props":3840,"children":3841},{"style":99},[3842],{"type":51,"value":3843}," issuesCollection ",{"type":46,"tag":80,"props":3845,"children":3846},{"style":93},[3847],{"type":51,"value":891},{"type":46,"tag":80,"props":3849,"children":3850},{"style":99},[3851],{"type":51,"value":344},{"type":46,"tag":80,"props":3853,"children":3854},{"class":82,"line":484},[3855,3859,3863,3867,3871,3875,3879,3883,3887,3892,3896,3900,3904,3908,3912],{"type":46,"tag":80,"props":3856,"children":3857},{"style":93},[3858],{"type":51,"value":2868},{"type":46,"tag":80,"props":3860,"children":3861},{"style":226},[3862],{"type":51,"value":357},{"type":46,"tag":80,"props":3864,"children":3865},{"style":99},[3866],{"type":51,"value":268},{"type":46,"tag":80,"props":3868,"children":3869},{"style":93},[3870],{"type":51,"value":366},{"type":46,"tag":80,"props":3872,"children":3873},{"style":275},[3874],{"type":51,"value":2885},{"type":46,"tag":80,"props":3876,"children":3877},{"style":93},[3878],{"type":51,"value":375},{"type":46,"tag":80,"props":3880,"children":3881},{"style":220},[3882],{"type":51,"value":380},{"type":46,"tag":80,"props":3884,"children":3885},{"style":226},[3886],{"type":51,"value":112},{"type":46,"tag":80,"props":3888,"children":3889},{"style":99},[3890],{"type":51,"value":3891},"(i",{"type":46,"tag":80,"props":3893,"children":3894},{"style":93},[3895],{"type":51,"value":398},{"type":46,"tag":80,"props":3897,"children":3898},{"style":99},[3899],{"type":51,"value":2955},{"type":46,"tag":80,"props":3901,"children":3902},{"style":93},[3903],{"type":51,"value":107},{"type":46,"tag":80,"props":3905,"children":3906},{"style":99},[3907],{"type":51,"value":2735},{"type":46,"tag":80,"props":3909,"children":3910},{"style":93},[3911],{"type":51,"value":398},{"type":46,"tag":80,"props":3913,"children":3914},{"style":99},[3915],{"type":51,"value":3916},"id))\n",{"type":46,"tag":80,"props":3918,"children":3919},{"class":82,"line":493},[3920,3924,3928,3932,3936,3940,3944,3948,3952,3956,3960,3964,3968,3972,3976,3980,3984,3988,3992,3996,4001,4005,4009],{"type":46,"tag":80,"props":3921,"children":3922},{"style":93},[3923],{"type":51,"value":2868},{"type":46,"tag":80,"props":3925,"children":3926},{"style":226},[3927],{"type":51,"value":2622},{"type":46,"tag":80,"props":3929,"children":3930},{"style":99},[3931],{"type":51,"value":268},{"type":46,"tag":80,"props":3933,"children":3934},{"style":93},[3935],{"type":51,"value":366},{"type":46,"tag":80,"props":3937,"children":3938},{"style":275},[3939],{"type":51,"value":2885},{"type":46,"tag":80,"props":3941,"children":3942},{"style":93},[3943],{"type":51,"value":375},{"type":46,"tag":80,"props":3945,"children":3946},{"style":220},[3947],{"type":51,"value":380},{"type":46,"tag":80,"props":3949,"children":3950},{"style":99},[3951],{"type":51,"value":1225},{"type":46,"tag":80,"props":3953,"children":3954},{"style":93},[3955],{"type":51,"value":320},{"type":46,"tag":80,"props":3957,"children":3958},{"style":265},[3959],{"type":51,"value":1465},{"type":46,"tag":80,"props":3961,"children":3962},{"style":93},[3963],{"type":51,"value":330},{"type":46,"tag":80,"props":3965,"children":3966},{"style":99},[3967],{"type":51,"value":2885},{"type":46,"tag":80,"props":3969,"children":3970},{"style":93},[3971],{"type":51,"value":398},{"type":46,"tag":80,"props":3973,"children":3974},{"style":99},[3975],{"type":51,"value":1502},{"type":46,"tag":80,"props":3977,"children":3978},{"style":93},[3979],{"type":51,"value":107},{"type":46,"tag":80,"props":3981,"children":3982},{"style":265},[3983],{"type":51,"value":3043},{"type":46,"tag":80,"props":3985,"children":3986},{"style":93},[3987],{"type":51,"value":330},{"type":46,"tag":80,"props":3989,"children":3990},{"style":99},[3991],{"type":51,"value":2885},{"type":46,"tag":80,"props":3993,"children":3994},{"style":93},[3995],{"type":51,"value":398},{"type":46,"tag":80,"props":3997,"children":3998},{"style":99},[3999],{"type":51,"value":4000},"title ",{"type":46,"tag":80,"props":4002,"children":4003},{"style":93},[4004],{"type":51,"value":891},{"type":46,"tag":80,"props":4006,"children":4007},{"style":99},[4008],{"type":51,"value":3069},{"type":46,"tag":80,"props":4010,"children":4011},{"style":93},[4012],{"type":51,"value":481},{"type":46,"tag":80,"props":4014,"children":4015},{"class":82,"line":501},[4016,4021],{"type":46,"tag":80,"props":4017,"children":4018},{"style":99},[4019],{"type":51,"value":4020},"    )",{"type":46,"tag":80,"props":4022,"children":4023},{"style":93},[4024],{"type":51,"value":481},{"type":46,"tag":80,"props":4026,"children":4027},{"class":82,"line":515},[4028,4033,4037],{"type":46,"tag":80,"props":4029,"children":4030},{"style":93},[4031],{"type":51,"value":4032},"  }",{"type":46,"tag":80,"props":4034,"children":4035},{"style":99},[4036],{"type":51,"value":3069},{"type":46,"tag":80,"props":4038,"children":4039},{"style":93},[4040],{"type":51,"value":481},{"type":46,"tag":80,"props":4042,"children":4043},{"class":82,"line":569},[4044],{"type":46,"tag":80,"props":4045,"children":4046},{"style":99},[4047],{"type":51,"value":344},{"type":46,"tag":80,"props":4049,"children":4050},{"class":82,"line":588},[4051],{"type":46,"tag":80,"props":4052,"children":4053},{"style":807},[4054],{"type":51,"value":4055},"\u002F\u002F project.issues is a plain array — no subcomponent needed\n",{"type":46,"tag":47,"props":4057,"children":4058},{},[4059],{"type":51,"value":4060},"See db-core\u002Flive-queries\u002FSKILL.md for full includes rules (correlation conditions, nested includes, aggregates).",{"type":46,"tag":61,"props":4062,"children":4064},{"id":4063},"common-mistakes",[4065],{"type":51,"value":4066},"Common Mistakes",{"type":46,"tag":760,"props":4068,"children":4070},{"id":4069},"high-reading-signals-outside-the-query-function",[4071],{"type":51,"value":4072},"HIGH Reading signals outside the query function",{"type":46,"tag":47,"props":4074,"children":4075},{},[4076],{"type":51,"value":4077},"Wrong:",{"type":46,"tag":68,"props":4079,"children":4081},{"className":70,"code":4080,"language":72,"meta":73,"style":73},"const [userId] = createSignal(1)\nconst id = userId()\nconst query = useLiveQuery((q) =>\n  q.from({ todo: todoCollection }).where(({ todo }) => eq(todo.userId, id)),\n)\n",[4082],{"type":46,"tag":76,"props":4083,"children":4084},{"__ignoreMap":73},[4085,4125,4149,4188,4288],{"type":46,"tag":80,"props":4086,"children":4087},{"class":82,"line":83},[4088,4092,4096,4100,4104,4108,4112,4116,4121],{"type":46,"tag":80,"props":4089,"children":4090},{"style":220},[4091],{"type":51,"value":818},{"type":46,"tag":80,"props":4093,"children":4094},{"style":93},[4095],{"type":51,"value":970},{"type":46,"tag":80,"props":4097,"children":4098},{"style":99},[4099],{"type":51,"value":1623},{"type":46,"tag":80,"props":4101,"children":4102},{"style":93},[4103],{"type":51,"value":989},{"type":46,"tag":80,"props":4105,"children":4106},{"style":93},[4107],{"type":51,"value":258},{"type":46,"tag":80,"props":4109,"children":4110},{"style":226},[4111],{"type":51,"value":998},{"type":46,"tag":80,"props":4113,"children":4114},{"style":99},[4115],{"type":51,"value":268},{"type":46,"tag":80,"props":4117,"children":4118},{"style":1005},[4119],{"type":51,"value":4120},"1",{"type":46,"tag":80,"props":4122,"children":4123},{"style":99},[4124],{"type":51,"value":344},{"type":46,"tag":80,"props":4126,"children":4127},{"class":82,"line":150},[4128,4132,4137,4141,4145],{"type":46,"tag":80,"props":4129,"children":4130},{"style":220},[4131],{"type":51,"value":818},{"type":46,"tag":80,"props":4133,"children":4134},{"style":99},[4135],{"type":51,"value":4136}," id ",{"type":46,"tag":80,"props":4138,"children":4139},{"style":93},[4140],{"type":51,"value":828},{"type":46,"tag":80,"props":4142,"children":4143},{"style":226},[4144],{"type":51,"value":1474},{"type":46,"tag":80,"props":4146,"children":4147},{"style":99},[4148],{"type":51,"value":1479},{"type":46,"tag":80,"props":4150,"children":4151},{"class":82,"line":206},[4152,4156,4160,4164,4168,4172,4176,4180,4184],{"type":46,"tag":80,"props":4153,"children":4154},{"style":220},[4155],{"type":51,"value":818},{"type":46,"tag":80,"props":4157,"children":4158},{"style":99},[4159],{"type":51,"value":823},{"type":46,"tag":80,"props":4161,"children":4162},{"style":93},[4163],{"type":51,"value":828},{"type":46,"tag":80,"props":4165,"children":4166},{"style":226},[4167],{"type":51,"value":102},{"type":46,"tag":80,"props":4169,"children":4170},{"style":99},[4171],{"type":51,"value":268},{"type":46,"tag":80,"props":4173,"children":4174},{"style":93},[4175],{"type":51,"value":268},{"type":46,"tag":80,"props":4177,"children":4178},{"style":275},[4179],{"type":51,"value":278},{"type":46,"tag":80,"props":4181,"children":4182},{"style":93},[4183],{"type":51,"value":283},{"type":46,"tag":80,"props":4185,"children":4186},{"style":220},[4187],{"type":51,"value":288},{"type":46,"tag":80,"props":4189,"children":4190},{"class":82,"line":216},[4191,4195,4199,4203,4207,4211,4215,4219,4223,4227,4231,4235,4239,4243,4247,4251,4255,4259,4263,4267,4271,4275,4279,4284],{"type":46,"tag":80,"props":4192,"children":4193},{"style":99},[4194],{"type":51,"value":1988},{"type":46,"tag":80,"props":4196,"children":4197},{"style":93},[4198],{"type":51,"value":398},{"type":46,"tag":80,"props":4200,"children":4201},{"style":226},[4202],{"type":51,"value":311},{"type":46,"tag":80,"props":4204,"children":4205},{"style":99},[4206],{"type":51,"value":268},{"type":46,"tag":80,"props":4208,"children":4209},{"style":93},[4210],{"type":51,"value":320},{"type":46,"tag":80,"props":4212,"children":4213},{"style":265},[4214],{"type":51,"value":325},{"type":46,"tag":80,"props":4216,"children":4217},{"style":93},[4218],{"type":51,"value":330},{"type":46,"tag":80,"props":4220,"children":4221},{"style":99},[4222],{"type":51,"value":886},{"type":46,"tag":80,"props":4224,"children":4225},{"style":93},[4226],{"type":51,"value":891},{"type":46,"tag":80,"props":4228,"children":4229},{"style":99},[4230],{"type":51,"value":283},{"type":46,"tag":80,"props":4232,"children":4233},{"style":93},[4234],{"type":51,"value":398},{"type":46,"tag":80,"props":4236,"children":4237},{"style":226},[4238],{"type":51,"value":357},{"type":46,"tag":80,"props":4240,"children":4241},{"style":99},[4242],{"type":51,"value":268},{"type":46,"tag":80,"props":4244,"children":4245},{"style":93},[4246],{"type":51,"value":366},{"type":46,"tag":80,"props":4248,"children":4249},{"style":275},[4250],{"type":51,"value":325},{"type":46,"tag":80,"props":4252,"children":4253},{"style":93},[4254],{"type":51,"value":375},{"type":46,"tag":80,"props":4256,"children":4257},{"style":220},[4258],{"type":51,"value":380},{"type":46,"tag":80,"props":4260,"children":4261},{"style":226},[4262],{"type":51,"value":112},{"type":46,"tag":80,"props":4264,"children":4265},{"style":99},[4266],{"type":51,"value":1140},{"type":46,"tag":80,"props":4268,"children":4269},{"style":93},[4270],{"type":51,"value":398},{"type":46,"tag":80,"props":4272,"children":4273},{"style":99},[4274],{"type":51,"value":1623},{"type":46,"tag":80,"props":4276,"children":4277},{"style":93},[4278],{"type":51,"value":107},{"type":46,"tag":80,"props":4280,"children":4281},{"style":99},[4282],{"type":51,"value":4283}," id))",{"type":46,"tag":80,"props":4285,"children":4286},{"style":93},[4287],{"type":51,"value":481},{"type":46,"tag":80,"props":4289,"children":4290},{"class":82,"line":242},[4291],{"type":46,"tag":80,"props":4292,"children":4293},{"style":99},[4294],{"type":51,"value":344},{"type":46,"tag":47,"props":4296,"children":4297},{},[4298],{"type":51,"value":4299},"Correct:",{"type":46,"tag":68,"props":4301,"children":4303},{"className":70,"code":4302,"language":72,"meta":73,"style":73},"const [userId] = createSignal(1)\nconst query = useLiveQuery((q) =>\n  q\n    .from({ todo: todoCollection })\n    .where(({ todo }) => eq(todo.userId, userId())),\n)\n",[4304],{"type":46,"tag":76,"props":4305,"children":4306},{"__ignoreMap":73},[4307,4346,4385,4392,4431,4494],{"type":46,"tag":80,"props":4308,"children":4309},{"class":82,"line":83},[4310,4314,4318,4322,4326,4330,4334,4338,4342],{"type":46,"tag":80,"props":4311,"children":4312},{"style":220},[4313],{"type":51,"value":818},{"type":46,"tag":80,"props":4315,"children":4316},{"style":93},[4317],{"type":51,"value":970},{"type":46,"tag":80,"props":4319,"children":4320},{"style":99},[4321],{"type":51,"value":1623},{"type":46,"tag":80,"props":4323,"children":4324},{"style":93},[4325],{"type":51,"value":989},{"type":46,"tag":80,"props":4327,"children":4328},{"style":93},[4329],{"type":51,"value":258},{"type":46,"tag":80,"props":4331,"children":4332},{"style":226},[4333],{"type":51,"value":998},{"type":46,"tag":80,"props":4335,"children":4336},{"style":99},[4337],{"type":51,"value":268},{"type":46,"tag":80,"props":4339,"children":4340},{"style":1005},[4341],{"type":51,"value":4120},{"type":46,"tag":80,"props":4343,"children":4344},{"style":99},[4345],{"type":51,"value":344},{"type":46,"tag":80,"props":4347,"children":4348},{"class":82,"line":150},[4349,4353,4357,4361,4365,4369,4373,4377,4381],{"type":46,"tag":80,"props":4350,"children":4351},{"style":220},[4352],{"type":51,"value":818},{"type":46,"tag":80,"props":4354,"children":4355},{"style":99},[4356],{"type":51,"value":823},{"type":46,"tag":80,"props":4358,"children":4359},{"style":93},[4360],{"type":51,"value":828},{"type":46,"tag":80,"props":4362,"children":4363},{"style":226},[4364],{"type":51,"value":102},{"type":46,"tag":80,"props":4366,"children":4367},{"style":99},[4368],{"type":51,"value":268},{"type":46,"tag":80,"props":4370,"children":4371},{"style":93},[4372],{"type":51,"value":268},{"type":46,"tag":80,"props":4374,"children":4375},{"style":275},[4376],{"type":51,"value":278},{"type":46,"tag":80,"props":4378,"children":4379},{"style":93},[4380],{"type":51,"value":283},{"type":46,"tag":80,"props":4382,"children":4383},{"style":220},[4384],{"type":51,"value":288},{"type":46,"tag":80,"props":4386,"children":4387},{"class":82,"line":206},[4388],{"type":46,"tag":80,"props":4389,"children":4390},{"style":99},[4391],{"type":51,"value":1059},{"type":46,"tag":80,"props":4393,"children":4394},{"class":82,"line":216},[4395,4399,4403,4407,4411,4415,4419,4423,4427],{"type":46,"tag":80,"props":4396,"children":4397},{"style":93},[4398],{"type":51,"value":1067},{"type":46,"tag":80,"props":4400,"children":4401},{"style":226},[4402],{"type":51,"value":311},{"type":46,"tag":80,"props":4404,"children":4405},{"style":99},[4406],{"type":51,"value":268},{"type":46,"tag":80,"props":4408,"children":4409},{"style":93},[4410],{"type":51,"value":320},{"type":46,"tag":80,"props":4412,"children":4413},{"style":265},[4414],{"type":51,"value":325},{"type":46,"tag":80,"props":4416,"children":4417},{"style":93},[4418],{"type":51,"value":330},{"type":46,"tag":80,"props":4420,"children":4421},{"style":99},[4422],{"type":51,"value":886},{"type":46,"tag":80,"props":4424,"children":4425},{"style":93},[4426],{"type":51,"value":891},{"type":46,"tag":80,"props":4428,"children":4429},{"style":99},[4430],{"type":51,"value":344},{"type":46,"tag":80,"props":4432,"children":4433},{"class":82,"line":242},[4434,4438,4442,4446,4450,4454,4458,4462,4466,4470,4474,4478,4482,4486,4490],{"type":46,"tag":80,"props":4435,"children":4436},{"style":93},[4437],{"type":51,"value":1067},{"type":46,"tag":80,"props":4439,"children":4440},{"style":226},[4441],{"type":51,"value":357},{"type":46,"tag":80,"props":4443,"children":4444},{"style":99},[4445],{"type":51,"value":268},{"type":46,"tag":80,"props":4447,"children":4448},{"style":93},[4449],{"type":51,"value":366},{"type":46,"tag":80,"props":4451,"children":4452},{"style":275},[4453],{"type":51,"value":325},{"type":46,"tag":80,"props":4455,"children":4456},{"style":93},[4457],{"type":51,"value":375},{"type":46,"tag":80,"props":4459,"children":4460},{"style":220},[4461],{"type":51,"value":380},{"type":46,"tag":80,"props":4463,"children":4464},{"style":226},[4465],{"type":51,"value":112},{"type":46,"tag":80,"props":4467,"children":4468},{"style":99},[4469],{"type":51,"value":1140},{"type":46,"tag":80,"props":4471,"children":4472},{"style":93},[4473],{"type":51,"value":398},{"type":46,"tag":80,"props":4475,"children":4476},{"style":99},[4477],{"type":51,"value":1623},{"type":46,"tag":80,"props":4479,"children":4480},{"style":93},[4481],{"type":51,"value":107},{"type":46,"tag":80,"props":4483,"children":4484},{"style":226},[4485],{"type":51,"value":1474},{"type":46,"tag":80,"props":4487,"children":4488},{"style":99},[4489],{"type":51,"value":1163},{"type":46,"tag":80,"props":4491,"children":4492},{"style":93},[4493],{"type":51,"value":481},{"type":46,"tag":80,"props":4495,"children":4496},{"class":82,"line":291},[4497],{"type":46,"tag":80,"props":4498,"children":4499},{"style":99},[4500],{"type":51,"value":344},{"type":46,"tag":47,"props":4502,"children":4503},{},[4504],{"type":51,"value":4505},"Solid's reactivity tracks signal reads inside reactive contexts. Reading outside the query function captures the value at creation time — changes won't trigger re-execution.",{"type":46,"tag":47,"props":4507,"children":4508},{},[4509],{"type":51,"value":4510},"Source: docs\u002Fframework\u002Fsolid\u002Foverview.md",{"type":46,"tag":760,"props":4512,"children":4514},{"id":4513},"medium-using-deprecated-querydata-instead-of-query",[4515],{"type":51,"value":4516},"MEDIUM Using deprecated query.data instead of query()",{"type":46,"tag":47,"props":4518,"children":4519},{},[4520],{"type":51,"value":4077},{"type":46,"tag":68,"props":4522,"children":4524},{"className":70,"code":4523,"language":72,"meta":73,"style":73},"\u003CFor each={todosQuery.data}>{(todo) => \u003Cli>{todo.text}\u003C\u002Fli>}\u003C\u002FFor>\n",[4525],{"type":46,"tag":76,"props":4526,"children":4527},{"__ignoreMap":73},[4528],{"type":46,"tag":80,"props":4529,"children":4530},{"class":82,"line":83},[4531,4535,4539,4543,4547,4551,4555,4560,4564,4568,4572,4576,4580,4584,4588,4592,4596,4600,4604,4608,4612,4616],{"type":46,"tag":80,"props":4532,"children":4533},{"style":93},[4534],{"type":51,"value":2440},{"type":46,"tag":80,"props":4536,"children":4537},{"style":524},[4538],{"type":51,"value":599},{"type":46,"tag":80,"props":4540,"children":4541},{"style":220},[4542],{"type":51,"value":604},{"type":46,"tag":80,"props":4544,"children":4545},{"style":93},[4546],{"type":51,"value":609},{"type":46,"tag":80,"props":4548,"children":4549},{"style":99},[4550],{"type":51,"value":614},{"type":46,"tag":80,"props":4552,"children":4553},{"style":93},[4554],{"type":51,"value":398},{"type":46,"tag":80,"props":4556,"children":4557},{"style":99},[4558],{"type":51,"value":4559},"data",{"type":46,"tag":80,"props":4561,"children":4562},{"style":93},[4563],{"type":51,"value":623},{"type":46,"tag":80,"props":4565,"children":4566},{"style":275},[4567],{"type":51,"value":393},{"type":46,"tag":80,"props":4569,"children":4570},{"style":93},[4571],{"type":51,"value":283},{"type":46,"tag":80,"props":4573,"children":4574},{"style":220},[4575],{"type":51,"value":380},{"type":46,"tag":80,"props":4577,"children":4578},{"style":93},[4579],{"type":51,"value":640},{"type":46,"tag":80,"props":4581,"children":4582},{"style":265},[4583],{"type":51,"value":645},{"type":46,"tag":80,"props":4585,"children":4586},{"style":93},[4587],{"type":51,"value":650},{"type":46,"tag":80,"props":4589,"children":4590},{"style":99},[4591],{"type":51,"value":393},{"type":46,"tag":80,"props":4593,"children":4594},{"style":93},[4595],{"type":51,"value":398},{"type":46,"tag":80,"props":4597,"children":4598},{"style":99},[4599],{"type":51,"value":51},{"type":46,"tag":80,"props":4601,"children":4602},{"style":93},[4603],{"type":51,"value":667},{"type":46,"tag":80,"props":4605,"children":4606},{"style":265},[4607],{"type":51,"value":645},{"type":46,"tag":80,"props":4609,"children":4610},{"style":93},[4611],{"type":51,"value":676},{"type":46,"tag":80,"props":4613,"children":4614},{"style":524},[4615],{"type":51,"value":599},{"type":46,"tag":80,"props":4617,"children":4618},{"style":93},[4619],{"type":51,"value":585},{"type":46,"tag":47,"props":4621,"children":4622},{},[4623],{"type":51,"value":4299},{"type":46,"tag":68,"props":4625,"children":4627},{"className":70,"code":4626,"language":72,"meta":73,"style":73},"\u003CFor each={todosQuery()}>{(todo) => \u003Cli>{todo.text}\u003C\u002Fli>}\u003C\u002FFor>\n",[4628],{"type":46,"tag":76,"props":4629,"children":4630},{"__ignoreMap":73},[4631],{"type":46,"tag":80,"props":4632,"children":4633},{"class":82,"line":83},[4634,4638,4642,4646,4650,4654,4658,4662,4666,4670,4674,4678,4682,4686,4690,4694,4698,4702,4706,4710,4714],{"type":46,"tag":80,"props":4635,"children":4636},{"style":93},[4637],{"type":51,"value":2440},{"type":46,"tag":80,"props":4639,"children":4640},{"style":524},[4641],{"type":51,"value":599},{"type":46,"tag":80,"props":4643,"children":4644},{"style":220},[4645],{"type":51,"value":604},{"type":46,"tag":80,"props":4647,"children":4648},{"style":93},[4649],{"type":51,"value":609},{"type":46,"tag":80,"props":4651,"children":4652},{"style":226},[4653],{"type":51,"value":614},{"type":46,"tag":80,"props":4655,"children":4656},{"style":99},[4657],{"type":51,"value":234},{"type":46,"tag":80,"props":4659,"children":4660},{"style":93},[4661],{"type":51,"value":623},{"type":46,"tag":80,"props":4663,"children":4664},{"style":275},[4665],{"type":51,"value":393},{"type":46,"tag":80,"props":4667,"children":4668},{"style":93},[4669],{"type":51,"value":283},{"type":46,"tag":80,"props":4671,"children":4672},{"style":220},[4673],{"type":51,"value":380},{"type":46,"tag":80,"props":4675,"children":4676},{"style":93},[4677],{"type":51,"value":640},{"type":46,"tag":80,"props":4679,"children":4680},{"style":265},[4681],{"type":51,"value":645},{"type":46,"tag":80,"props":4683,"children":4684},{"style":93},[4685],{"type":51,"value":650},{"type":46,"tag":80,"props":4687,"children":4688},{"style":99},[4689],{"type":51,"value":393},{"type":46,"tag":80,"props":4691,"children":4692},{"style":93},[4693],{"type":51,"value":398},{"type":46,"tag":80,"props":4695,"children":4696},{"style":99},[4697],{"type":51,"value":51},{"type":46,"tag":80,"props":4699,"children":4700},{"style":93},[4701],{"type":51,"value":667},{"type":46,"tag":80,"props":4703,"children":4704},{"style":265},[4705],{"type":51,"value":645},{"type":46,"tag":80,"props":4707,"children":4708},{"style":93},[4709],{"type":51,"value":676},{"type":46,"tag":80,"props":4711,"children":4712},{"style":524},[4713],{"type":51,"value":599},{"type":46,"tag":80,"props":4715,"children":4716},{"style":93},[4717],{"type":51,"value":585},{"type":46,"tag":47,"props":4719,"children":4720},{},[4721,4727,4729,4735,4737,4743],{"type":46,"tag":76,"props":4722,"children":4724},{"className":4723},[],[4725],{"type":51,"value":4726},"query.data",{"type":51,"value":4728}," is deprecated. Always use ",{"type":46,"tag":76,"props":4730,"children":4732},{"className":4731},[],[4733],{"type":51,"value":4734},"query()",{"type":51,"value":4736}," to access data. If you encounter existing code using ",{"type":46,"tag":76,"props":4738,"children":4740},{"className":4739},[],[4741],{"type":51,"value":4742},".data",{"type":51,"value":4744},", migrate it to the function call form.",{"type":46,"tag":47,"props":4746,"children":4747},{},[4748],{"type":51,"value":4749},"See also: db-core\u002Flive-queries\u002FSKILL.md — for query builder API.",{"type":46,"tag":47,"props":4751,"children":4752},{},[4753],{"type":51,"value":4754},"See also: db-core\u002Fmutations-optimistic\u002FSKILL.md — for mutation patterns.",{"type":46,"tag":4756,"props":4757,"children":4758},"style",{},[4759],{"type":51,"value":4760},"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);}",{"items":4762,"total":515},[4763,4777,4788,4799,4812,4825,4838],{"slug":4764,"name":4764,"fn":4765,"description":4766,"org":4767,"tags":4768,"stars":20,"repoUrl":21,"updatedAt":4776},"angular-db","integrate TanStack DB with Angular","Angular bindings for TanStack DB. injectLiveQuery inject function with Angular signals (Signal\u003CT>) for all return values. Reactive params pattern ({ params: () => T, query: ({ params, q }) => QueryBuilder }) for dynamic queries. Must be called in injection context. Angular 17+ control flow (@if, @for) and signal inputs supported. Import from @tanstack\u002Fangular-db (re-exports all of @tanstack\u002Fdb).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4769,4772,4773],{"name":4770,"slug":4771,"type":15},"Angular","angular",{"name":17,"slug":18,"type":15},{"name":4774,"slug":4775,"type":15},"TypeScript","typescript","2026-07-16T06:01:16.345046",{"slug":38,"name":38,"fn":4778,"description":4779,"org":4780,"tags":4781,"stars":20,"repoUrl":21,"updatedAt":4787},"manage database collections with TanStack DB","TanStack DB core concepts: createCollection with queryCollectionOptions, electricCollectionOptions, powerSyncCollectionOptions, rxdbCollectionOptions, trailbaseCollectionOptions, localOnlyCollectionOptions. Live queries via query builder (from, where, join, select, groupBy, orderBy, limit). Optimistic mutations with draft proxy (collection.insert, collection.update, collection.delete). createOptimisticAction, createTransaction, createPacedMutations. Entry point for all TanStack DB skills.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4782,4785,4786],{"name":4783,"slug":4784,"type":15},"Data Modeling","data-modeling",{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},"2026-07-17T06:06:40.214285",{"slug":4789,"name":4790,"fn":4791,"description":4792,"org":4793,"tags":4794,"stars":20,"repoUrl":21,"updatedAt":4798},"db-corecollection-setup","db-core\u002Fcollection-setup","set up typed collections in TanStack DB","Creating typed collections with createCollection. Adapter selection: queryCollectionOptions (REST\u002FTanStack Query), electricCollectionOptions (ElectricSQL real-time sync), powerSyncCollectionOptions (PowerSync SQLite), rxdbCollectionOptions (RxDB), trailbaseCollectionOptions (TrailBase), localOnlyCollectionOptions, localStorageCollectionOptions. CollectionConfig options: getKey, schema, sync, gcTime, autoIndex (default off), defaultIndexType, syncMode (eager\u002Fon-demand, plus progressive for Electric). StandardSchema validation with Zod\u002FValibot\u002FArkType. Collection lifecycle (idle\u002Floading\u002Fready\u002Ferror). Adapter-specific sync patterns including Electric txid tracking, Query direct writes, and PowerSync query-driven sync with onLoad\u002FonLoadSubset hooks.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4795,4796,4797],{"name":4783,"slug":4784,"type":15},{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},"2026-07-26T05:48:58.321777",{"slug":4800,"name":4801,"fn":4802,"description":4803,"org":4804,"tags":4805,"stars":20,"repoUrl":21,"updatedAt":4811},"db-corecustom-adapter","db-core\u002Fcustom-adapter","build custom TanStack collection adapters","Building custom collection adapters for new backends. SyncConfig interface: sync function receiving begin, write, commit, markReady, truncate, metadata primitives. ChangeMessage format (insert, update, delete). loadSubset for on-demand sync. LoadSubsetOptions (where, orderBy, limit, cursor). Expression parsing: parseWhereExpression, parseOrderByExpression, extractSimpleComparisons, parseLoadSubsetOptions. Collection options creator pattern. rowUpdateMode (partial vs full). Subscription lifecycle and cleanup functions. Persisted sync metadata API (metadata.row and metadata.collection) for storing per-row and per-collection adapter state.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4806,4807,4810],{"name":17,"slug":18,"type":15},{"name":4808,"slug":4809,"type":15},"Engineering","engineering",{"name":9,"slug":8,"type":15},"2026-07-16T06:04:06.862485",{"slug":4813,"name":4814,"fn":4815,"description":4816,"org":4817,"tags":4818,"stars":20,"repoUrl":21,"updatedAt":4824},"db-corelive-queries","db-core\u002Flive-queries","build live queries with TanStack DB","Query builder fluent API: from, where, join, leftJoin, rightJoin, innerJoin, fullJoin, select, fn.select, groupBy, having, orderBy, limit, offset, distinct, findOne. Operators: eq, gt, gte, lt, lte, like, ilike, inArray, isNull, isUndefined, and, or, not. Aggregates: count, sum, avg, min, max. String functions: upper, lower, length, concat. Utility: coalesce, caseWhen. Math: add. $selected namespace. createLiveQueryCollection. Derived collections. Predicate push-down. Incremental view maintenance via differential dataflow (d2ts). Virtual properties ($synced, $origin, $key, $collectionId). Includes subqueries for hierarchical data. toArray and concat(toArray(...)) scalar includes. queryOnce for one-shot queries. createEffect for reactive side effects (onEnter, onUpdate, onExit, onBatch).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4819,4820,4823],{"name":17,"slug":18,"type":15},{"name":4821,"slug":4822,"type":15},"SQL","sql",{"name":9,"slug":8,"type":15},"2026-07-16T06:04:08.757365",{"slug":4826,"name":4827,"fn":4828,"description":4829,"org":4830,"tags":4831,"stars":20,"repoUrl":21,"updatedAt":4837},"db-coremutations-optimistic","db-core\u002Fmutations-optimistic","manage optimistic mutations in TanStack DB","collection.insert, collection.update (Immer-style draft proxy), collection.delete. createOptimisticAction (onMutate + mutationFn). createPacedMutations with debounceStrategy, throttleStrategy, queueStrategy. createTransaction, getActiveTransaction, ambient transaction context. Transaction lifecycle (pending\u002Fpersisting\u002Fcompleted\u002Ffailed). Mutation merging. onInsert\u002FonUpdate\u002FonDelete handlers. PendingMutation type. Transaction.isPersisted.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4832,4833,4836],{"name":17,"slug":18,"type":15},{"name":4834,"slug":4835,"type":15},"Frontend","frontend",{"name":9,"slug":8,"type":15},"2026-07-26T05:48:57.301803",{"slug":4839,"name":4840,"fn":4841,"description":4842,"org":4843,"tags":4844,"stars":20,"repoUrl":21,"updatedAt":4853},"db-corepersistence","db-core\u002Fpersistence","implement SQLite-backed persistence for TanStack DB","SQLite-backed persistence for TanStack DB collections. persistedCollectionOptions wraps any adapter (Electric, Query, PowerSync, or local-only) with durable local storage. Platform adapters: browser (WA-SQLite OPFS), React Native (op-sqlite), Expo (expo-sqlite), Electron (IPC), Node (better-sqlite3), Capacitor, Tauri, Cloudflare Durable Objects. Multi-tab\u002Fmulti-process coordination via BrowserCollectionCoordinator \u002F ElectronCollectionCoordinator \u002F SingleProcessCoordinator. schemaVersion for migration resets. Local-only mode for offline-first without a server.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4845,4846,4849,4852],{"name":17,"slug":18,"type":15},{"name":4847,"slug":4848,"type":15},"Persistence","persistence",{"name":4850,"slug":4851,"type":15},"SQLite","sqlite",{"name":9,"slug":8,"type":15},"2026-07-17T06:06:39.182084",{"items":4855,"total":4995},[4856,4870,4882,4894,4909,4921,4931,4941,4954,4964,4975,4985],{"slug":4857,"name":4857,"fn":4858,"description":4859,"org":4860,"tags":4861,"stars":4867,"repoUrl":4868,"updatedAt":4869},"aggregation","perform data aggregation in TanStack Table","Aggregate TanStack Table columns independently of grouping, including grand totals, caller-selected row totals, multiple keyed aggregations, custom context-based definitions, grouped merges, manual values, and worker constraints.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4862,4865,4866],{"name":4863,"slug":4864,"type":15},"Data Analysis","data-analysis",{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},28175,"https:\u002F\u002Fgithub.com\u002FTanStack\u002Ftable","2026-07-30T05:25:59.429787",{"slug":4871,"name":4871,"fn":4872,"description":4873,"org":4874,"tags":4875,"stars":4867,"repoUrl":4868,"updatedAt":4881},"api-not-found","diagnose TanStack Table API errors","Diagnose missing TanStack Table v9 exports, options, state slices, and instance methods. Load before inventing an API when code sees a type error, undefined feature method, absent object key, adapter mismatch, or v8-shaped example.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4876,4879,4880],{"name":4877,"slug":4878,"type":15},"Debugging","debugging",{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:26:05.418735",{"slug":4883,"name":4883,"fn":4884,"description":4885,"org":4886,"tags":4887,"stars":4867,"repoUrl":4868,"updatedAt":4893},"cell-selection","select rectangular cell ranges in tables","Select rectangular cell ranges with cellSelectionFeature: two-corner range state keyed by row and column id, mousedown\u002Fmouseenter handlers, selection edges, render-order resolution under pinning, and autoResetCellSelection. Load when ranges widen unexpectedly after sorting or column reordering, when a drag re-renders the whole table, or when building copy-to-clipboard from a selection.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4888,4889,4890],{"name":4863,"slug":4864,"type":15},{"name":9,"slug":8,"type":15},{"name":4891,"slug":4892,"type":15},"UI Components","ui-components","2026-07-30T05:25:38.403427",{"slug":4895,"name":4895,"fn":4896,"description":4897,"org":4898,"tags":4899,"stars":4867,"repoUrl":4868,"updatedAt":4908},"client-vs-server","manage TanStack Table data pipelines","Choose client or server ownership for filtering, grouping, sorting, expanding, and pagination in TanStack Table v9. Load for manual* flags, mixed pipelines, server counts, or deciding which dataset each row-model stage receives.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4900,4903,4904,4907],{"name":4901,"slug":4902,"type":15},"Data Pipeline","data-pipeline",{"name":4834,"slug":4835,"type":15},{"name":4905,"slug":4906,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-07-30T05:25:45.400104",{"slug":4910,"name":4910,"fn":4911,"description":4912,"org":4913,"tags":4914,"stars":4867,"repoUrl":4868,"updatedAt":4920},"column-faceting","build faceted filter UIs","Build faceted filter UIs with columnFacetingFeature, facetedRowModel, facetedUniqueValues, and facetedMinMaxValues. Load for facet counts, numeric ranges, own-filter exclusion, or server-page facet completeness.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4915,4918,4919],{"name":4916,"slug":4917,"type":15},"Data Visualization","data-visualization",{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:41.397257",{"slug":4922,"name":4922,"fn":4923,"description":4924,"org":4925,"tags":4926,"stars":4867,"repoUrl":4868,"updatedAt":4930},"column-filtering","implement column filtering in TanStack Table","Filter columns with columnFilteringFeature, filteredRowModel, filterFns, filterMeta, nested-row direction, and manualFiltering. Load for accessor compatibility, controlled filter updaters, fuzzy metadata, or client\u002Fserver ownership.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4927,4928,4929],{"name":4863,"slug":4864,"type":15},{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},"2026-07-30T05:25:53.391632",{"slug":4932,"name":4932,"fn":4933,"description":4934,"org":4935,"tags":4936,"stars":4867,"repoUrl":4868,"updatedAt":4940},"column-ordering","manage TanStack Table column ordering","Control TanStack Table v9 leaf columnOrder with stable IDs while accounting for pinning regions, visibility, and groupedColumnMode precedence. Load for drag-and-drop columns or rendered order that differs from state.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4937,4938,4939],{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},{"name":4891,"slug":4892,"type":15},"2026-07-30T05:26:03.37801",{"slug":4942,"name":4942,"fn":4943,"description":4944,"org":4945,"tags":4946,"stars":4867,"repoUrl":4868,"updatedAt":4953},"column-pinning","configure column pinning in TanStack Table","Pin columns into logical start, center, and end regions with columnPinningFeature and renderer-owned sticky CSS. Load for RTL offsets, z-index, backgrounds, overflow, widths, gaps, or overlaps.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4947,4950,4951,4952],{"name":4948,"slug":4949,"type":15},"CSS","css",{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},{"name":4891,"slug":4892,"type":15},"2026-07-30T05:25:55.377366",{"slug":4955,"name":4955,"fn":4956,"description":4957,"org":4958,"tags":4959,"stars":4867,"repoUrl":4868,"updatedAt":4963},"column-resizing","implement column resizing in TanStack Table","Wire columnResizingFeature, header.getResizeHandler, resize mode and direction, pointer or touch events, and performant CSS-variable updates. Load when resize state changes but widths do not, or large tables resize slowly.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4960,4961,4962],{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},{"name":4891,"slug":4892,"type":15},"2026-07-30T05:25:51.400011",{"slug":4965,"name":4965,"fn":4966,"description":4967,"org":4968,"tags":4969,"stars":4867,"repoUrl":4868,"updatedAt":4974},"column-sizing","configure column sizing in TanStack Table","Use columnSizingFeature numeric size, minSize, maxSize, getSize, getStart, getAfter, and total-size APIs in table, grid, or flex CSS. Load for auto or percentage misconceptions and sizing\u002Fpinning layout mismatch.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4970,4971,4972,4973],{"name":4948,"slug":4949,"type":15},{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},{"name":4891,"slug":4892,"type":15},"2026-07-30T05:25:48.703799",{"slug":4976,"name":4976,"fn":4977,"description":4978,"org":4979,"tags":4980,"stars":4867,"repoUrl":4868,"updatedAt":4984},"column-visibility","manage column visibility in TanStack Table","Hide columns with columnVisibilityFeature while rendering visibility-aware header, column, and cell collections. Load when hidden columns remain in the DOM, false-versus-absent state is confused, or enableHiding is misunderstood.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4981,4982,4983],{"name":4834,"slug":4835,"type":15},{"name":9,"slug":8,"type":15},{"name":4891,"slug":4892,"type":15},"2026-07-30T05:25:47.367943",{"slug":4986,"name":4986,"fn":4987,"description":4988,"org":4989,"tags":4990,"stars":4867,"repoUrl":4868,"updatedAt":4994},"core","build data grids with TanStack Table","Use TanStack Table v9 as a headless data-grid state and row-processing engine. Load for first-table architecture, stable data and columns, row numbering with getDisplayIndex, semantic rendering, framework adapter choice, or deciding what Table owns versus the renderer.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[4991,4992,4993],{"name":4863,"slug":4864,"type":15},{"name":4834,"slug":4835,"type":15},{"name":4891,"slug":4892,"type":15},"2026-07-30T05:25:52.366295",125]