// The single `sqliteQuery` node factory, shared by the `db.query` method // (cell.ts) and the public `sqliteQuery` builder export (builder/built-in.ts) so // both construct the SAME reactive node instead of each calling // `createNodeFactory` for the same implementation. Lives in its own module // (depends only on builder/module.ts, which does not import cell.ts) so cell.ts // can import it without a cycle (08-open-questions #24). import { createNodeFactory } from "../../builder/module.ts"; // deno-lint-ignore no-explicit-any export const sqliteQueryNodeFactory = createNodeFactory({ type: "ref", implementation: "sqliteQuery", });