IF Commons GitHub

sql/extensions/plan-report/record

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0016-sql-plan-report FR-010

The report in the database (commons data 0016-sql-plan-report FR-010): a table of what happened to it, one row for each step, made with the dialect's own types and loaded by an upsert, so that loading it twice leaves the same rows.

Source: commons/data/sql/extensions/plan-report/record.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.

recordStatementsfunction
function recordStatements(data: ReportData, dialect: Dialect, options?: { readonly settings?: ReportSettings | undefined; readonly qualifier?: string | undefined; readonly tableName?: string | undefined; }): readonly Statement[]

The statements that record a report.

ParameterWhat it is
datathe report
dialectthe dialect
optionsthe table's settings, the schema it is in, and its name where the dialect has no schemas and the words are in the name

Returns: the statements, in the groups of table and data

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

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