IF Commons GitHub

sql/extensions/rewrite/mod

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0017-sql-rewrite FR-001

The rewrite (commons data 0017-sql-rewrite): a table made again where the engine cannot change it in place, and a change of type cast where the project says values may be. rewrite is the fallback plan is given; rewriteExtension contributes it through the engine's point lifecycle.fallback.

plan(from, schema, { dialect }, { fallback: rewrite({ casts: "allow" }) });

Source: commons/data/sql/extensions/rewrite/mod.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.

rewriteExtensionfunction
function rewriteExtension(given?: RewriteSettings, version?: string): Result<Extension, IdError>

The rewrite as an extension of the engine, sql.lifecycle.rewrite.

ParameterWhat it is
givenwhat a project says of the rewrite
versionthe extension's version

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

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

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