IF Commons GitHub

sql/typed/compile

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0053-sql-typed FR-006

Writing a query for a dialect (commons data 0053-sql-typed): the tree of expressions, selects and statements as SQL text, with the dialect's quoting and literals. Every value is a literal written by the dialect (text is quoted and a quote in it doubled), so that a value cannot become SQL; a value a dialect cannot hold is an error that says so.

Source: commons/data/sql/typed/compile.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.

TypedErrorclassno test imports it
class TypedError extends Error

A query that cannot be written.

MemberTypeWhat it is
namestring
messagestring
stack?string
cause?unknown

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