IF Commons GitHub

sql/extensions/views/mod

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0009-sql-features FR-005

The views extension (commons data 0009-sql-features): viewsSource gives the statements of views for bind; viewsExtension is the same as an extension of the engine, sql.features.views.

bind(schema, { dialect, sources: [viewsSource([{ name: "personDirectory", description: "The people in use", from: "party", columns: [{ table: "party", column: "partyId" }] }])] });

Source: commons/data/sql/extensions/views/mod.ts

0 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.

viewsExtensionfunctionno test imports it
function viewsExtension(definitions: readonly ViewDefinition[], version?: string): Result<Extension, IdError>

The views as an extension of the engine.

ParameterWhat it is
definitionsthe views
versionthe extension's version

Returns: the extension, or why its identifier is not one

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