IF Commons GitHub

physical/mod

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-planning-query-relations FR-005

The 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 });

Source: commons/planning-query/src/physical/mod.ts

1 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

physicalnamespace
namespace physical
physical.queryStorefunctionno test imports it
function 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.

queryStorefunction
function 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.

Imported by 6 tests of the run (6 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.