IF Commons GitHub

sql/extensions/queries/run

Written to: 2 requirements: 2 proved, 0 partly, 0 failing, 0 with no test recorded. 0024-sql-queries FR-004, 0024-sql-queries FR-005

Running queries (commons data 0024-sql-queries): in a transaction that is rolled back, and prepared against a database to find what it refuses.

Source: commons/data/sql/extensions/queries/run.ts

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

verifyfunction
function verify(driver: Driver, catalog: Catalog, samples?: Readonly<Record<string, Readonly<Record<string, unknown>>>>): Promise<readonly Finding[]>

Prepares every query of a catalog against a database.

ParameterWhat it is
driverthe database
catalogthe catalog
samplesthe values to prepare a query with, by query name and then by parameter; a sample of its type where one is not given

Returns: what the engine refused

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

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