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.
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.
| Parameter | What it is |
|---|
driver | the database |
catalog | the catalog |
samples | the 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