physicalnamespacenamespace physicalThe Physical layer of Planning Query: the store of a repository asked in SQL (0002-planning-query-relations FR-005). The events of the store are read as commons planning reads them (a file that is not of the schema is a finding and is not a row), the items are their fold, and the question is the logical one's.
import { queryStore } from "./mod.ts";
// const answer = await queryStore(store, "select title from issues", { clock, wallMs });physicalnamespacenamespace physicalphysical.queryStorefunctionno test imports itfunction queryStore(store: PlanningStoreBackend, sql: string, options: { readonly clock: Clock; readonly wallMs: number; readonly params?: readonly Value[] | undefined; readonly includeProposed?: boolean | undefined; } & Budget): Promise<Result<Table, QueryProblem>>One statement over the items of a store of events: its answer, or why there is none.
queryStorefunctionfunction queryStore(store: PlanningStoreBackend, sql: string, options: { readonly clock: Clock; readonly wallMs: number; readonly params?: readonly Value[] | undefined; readonly includeProposed?: boolean | undefined; } & Budget): Promise<Result<Table, QueryProblem>>One statement over the items of a store of events: its answer, or why there is none.