IF Commons GitHub

sql/physical/qualify

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0013-sql-qualified-names FR-002

A name that carries a schema (commons data 0013-sql-qualified-names FR-002): "schema"."name" where there is a schema, "name" where there is none.

Source: commons/data/sql/physical/qualify.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.

qualifiedconstno test imports it
const qualified: (dialect: Dialect, schema: string | undefined, name: string) => string

A name as a statement refers to it.

ParameterWhat it is
dialectthe dialect, which quotes
schemathe schema the name is in, or none
namethe name as written

Returns: the quoted, qualified name

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