PostgreSqlLibraryContext
PostgreSQL-only SQL operations exposed to PostgreSQL translation libraries.
Extends
Section titled “Extends”Methods
Section titled “Methods”fullTextSearch()
Section titled “fullTextSearch()”fullTextSearch(
expression):string
Emits simple-configuration full-text matching for a tsvector query field.
Parameters
Section titled “Parameters”expression
Section titled “expression”Expr
Returns
Section titled “Returns”string
stringPattern()
Section titled “stringPattern()”stringPattern(
expression,kind,operator,options?):string
Translates a string-pattern call with a trusted target operator.
Parameters
Section titled “Parameters”expression
Section titled “expression”Expr
operator
Section titled “operator”string
options?
Section titled “options?”SqlPatternOptions
Returns
Section titled “Returns”string
Inherited from
Section titled “Inherited from”SqlLibraryContext.stringPattern
timestampRange()
Section titled “timestampRange()”timestampRange(
expression):string
Emits a PostgreSQL tstzrange constructor from constant timestamp bounds.
Parameters
Section titled “Parameters”expression
Section titled “expression”Expr
Returns
Section titled “Returns”string
timestampRangeContains()
Section titled “timestampRangeContains()”timestampRangeContains(
expression):string
Emits containment of a constant timestamp by a range query field.
Parameters
Section titled “Parameters”expression
Section titled “expression”Expr
Returns
Section titled “Returns”string
timestampRangeOverlaps()
Section titled “timestampRangeOverlaps()”timestampRangeOverlaps(
expression):string
Emits overlap between a range query field and a translated range value.
Parameters
Section titled “Parameters”expression
Section titled “expression”Expr
Returns
Section titled “Returns”string
unsupportedExpression()
Section titled “unsupportedExpression()”unsupportedExpression(
expression):CelqlError
Rejects a library expression that violates its documented input domain.
Parameters
Section titled “Parameters”expression
Section titled “expression”Expr