Skip to content

Latest commit

 

History

History
152 lines (92 loc) · 6.23 KB

File metadata and controls

152 lines (92 loc) · 6.23 KB

src/minisql/sql/dialect.ml

Home · Files

Provides minisql sql dialect facilities for this project.

Package: minisql.sql.dialect

Reachable from entry: yes

Declarations

asciiLower

function asciiLower(text)

Implements ascii lower for this module. Requires arguments that satisfy the validation performed below. Returns its result or propagates a structured error from validation or a dependency. Any side effects are limited to the explicitly invoked dependencies.

Parameter Type Default Description
text dynamic Text consumed by the operation.

View source

asciiUpper

function asciiUpper(text)

Implements ascii upper for this module. Requires arguments that satisfy the validation performed below. Returns its result or propagates a structured error from validation or a dependency. Any side effects are limited to the explicitly invoked dependencies.

Parameter Type Default Description
text dynamic Text consumed by the operation.

View source

canonicalIdentifier

function canonicalIdentifier(text, quoted)

Implements canonical identifier for this module. Requires arguments that satisfy the validation performed below. Returns its result or propagates a structured error from validation or a dependency. Does not modify its inputs.

Parameter Type Default Description
text dynamic Text consumed by the operation.
quoted dynamic quoted value consumed by this operation.

View source

componentName

function componentName()

Performs the componentName operation for the minisql sql dialect module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.

View source

isImplemented

function isImplemented()

Returns whether implemented satisfies the condition required by the minisql sql dialect module. Returns the computed value or operation status. Does not modify its inputs.

View source

isKeyword

function isKeyword(text)

Returns whether the supplied value satisfies the keyword condition. Requires arguments that satisfy the validation performed below. Returns the computed value or operation status. Does not modify its inputs.

Parameter Type Default Description
text dynamic Text consumed by the operation.

View source

isNonReservedIdentifierKeyword

function isNonReservedIdentifierKeyword(text)

Returns whether the supplied value satisfies the non reserved identifier keyword condition. Requires arguments that satisfy the validation performed below. Returns the computed value or operation status. Does not modify its inputs.

Parameter Type Default Description
text dynamic Text consumed by the operation.

View source

keywordList

function keywordList()

Implements keyword list for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.

View source

nonReservedIdentifierKeywordList

function nonReservedIdentifierKeywordList()

MiniSQL distinguishes fully reserved grammar words from contextual words. SQL type names and aggregate function names are keywords while parsing their dedicated constructs, but remain legal unquoted identifiers where an object, column, alias, savepoint or principal name is expected. Implements non reserved identifier keyword list for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.

View source

targetMilestone

function targetMilestone()

Performs the targetMilestone operation for the minisql sql dialect module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.

View source