Provides minisql sql ast facilities for this project.
Package: minisql.sql.ast
Reachable from entry: yes
const ALTER_TABLE_ADD_COLUMN = 1Defines the alter table add column constant used by the minisql sql ast module.
const ALTER_TABLE_ADD_CONSTRAINT = 4Defines the alter table add constraint constant used by the minisql sql ast module.
const ALTER_TABLE_DROP_COLUMN = 6Defines the alter table drop column constant used by the minisql sql ast module.
const ALTER_TABLE_DROP_CONSTRAINT = 5Defines the alter table drop constraint constant used by the minisql sql ast module.
const ALTER_TABLE_DROP_DEFAULT = 8Defines the alter table drop default constant used by the minisql sql ast module.
const ALTER_TABLE_DROP_NOT_NULL = 10Defines the alter table drop not null constant used by the minisql sql ast module.
const ALTER_TABLE_RENAME_COLUMN = 2Defines the alter table rename column constant used by the minisql sql ast module.
const ALTER_TABLE_RENAME_TABLE = 3Defines the alter table rename table constant used by the minisql sql ast module.
const ALTER_TABLE_SET_DEFAULT = 7Defines the alter table set default constant used by the minisql sql ast module.
const ALTER_TABLE_SET_NOT_NULL = 9Defines the alter table set not null constant used by the minisql sql ast module.
const ALTER_USER_DISABLE = 3Defines the alter user disable constant used by the minisql sql ast module.
const ALTER_USER_ENABLE = 2Defines the alter user enable constant used by the minisql sql ast module.
const ALTER_USER_PASSWORD = 1Defines the alter user password constant used by the minisql sql ast module.
- minisql.sql.ast.AlterTableStatement — struct
- minisql.sql.ast.AlterTriggerStatement — struct
- minisql.sql.ast.AlterUserStatement — struct
- minisql.sql.ast.AnalyzeStatement — struct
- minisql.sql.ast.Assignment — struct
- minisql.sql.ast.BeginStatement — struct
function betweenExpression(operand, lower, upper, negated)Implements between expression 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 |
|---|---|---|---|
operand |
dynamic |
— | operand value consumed by this operation. |
lower |
dynamic |
— | lower value consumed by this operation. |
upper |
dynamic |
— | upper value consumed by this operation. |
negated |
dynamic |
— | negated value consumed by this operation. |
- minisql.sql.ast.BetweenExpression — struct
function binaryExpression(operator, left, right)Implements binary expression for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
operator |
dynamic |
— | operator value consumed by this operation. |
left |
dynamic |
— | left value consumed by this operation. |
right |
dynamic |
— | right value consumed by this operation. |
- minisql.sql.ast.BinaryExpression — struct
function booleanLiteral(value)Implements boolean literal for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
- minisql.sql.ast.CallStatement — struct
function caseBranch(condition, result)Implements case branch for this module. 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 |
|---|---|---|---|
condition |
dynamic |
— | condition value consumed by this operation. |
result |
dynamic |
— | Result object populated or inspected by the operation. |
- minisql.sql.ast.CaseBranch — struct
function caseExpression(branches, elseExpression)Implements case expression 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 |
|---|---|---|---|
branches |
dynamic |
— | branches value consumed by this operation. |
elseExpression |
dynamic |
— | elseExpression value consumed by this operation. |
- minisql.sql.ast.CaseExpression — struct
function castExpression(operand, targetType)Casts expression using the supplied inputs. 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 |
|---|---|---|---|
operand |
dynamic |
— | operand value consumed by this operation. |
targetType |
dynamic |
— | targetType value consumed by this operation. |
- minisql.sql.ast.CastExpression — struct
- minisql.sql.ast.ColumnDefinition — struct
function columnExpression(qualifier, name)Implements column expression for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
qualifier |
dynamic |
— | qualifier value consumed by this operation. |
name |
dynamic |
— | Name of the affected item. |
- minisql.sql.ast.ColumnExpression — struct
- minisql.sql.ast.CommitStatement — struct
- minisql.sql.ast.CommonTableExpression — struct
function componentName()Performs the componentName operation for the minisql sql ast module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
const CONFLICT_DO_NOTHING = 1Defines the conflict do nothing constant used by the minisql sql ast module.
const CONFLICT_DO_UPDATE = 2Defines the conflict do update constant used by the minisql sql ast module.
const CONFLICT_NONE = 0Defines the conflict none constant used by the minisql sql ast module.
const CONSTRAINT_CHECK = 3Defines the constraint check constant used by the minisql sql ast module.
const CONSTRAINT_FOREIGN_KEY = 4Defines the constraint foreign key constant used by the minisql sql ast module.
const CONSTRAINT_PRIMARY_KEY = 1Defines the constraint primary key constant used by the minisql sql ast module.
const CONSTRAINT_UNIQUE = 2Defines the constraint unique constant used by the minisql sql ast module.
function containsTypedLiteral(expression)Reports whether an expression tree embeds an executor-created typed literal. These values intentionally format opaquely and therefore cannot participate in a value-sensitive physical-plan cache key.
| Parameter | Type | Default | Description |
|---|---|---|---|
expression |
dynamic |
— | expression value consumed by this operation. |
- minisql.sql.ast.CreateIndexStatement — struct
- minisql.sql.ast.CreatePrincipalStatement — struct
- minisql.sql.ast.CreateProcedureStatement — struct
- minisql.sql.ast.CreateSchemaStatement — struct
- minisql.sql.ast.CreateSequenceStatement — struct
- minisql.sql.ast.CreateTableStatement — struct
- minisql.sql.ast.CreateTriggerStatement — struct
- minisql.sql.ast.CreateViewStatement — struct
function currentTimestampLiteral()Implements current timestamp literal for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
const DCL_OBJECT_DATABASE = 1Defines the dcl object database constant used by the minisql sql ast module.
const DCL_OBJECT_TABLE = 2Defines the dcl object table constant used by the minisql sql ast module.
- minisql.sql.ast.DeallocateStatement — struct
- minisql.sql.ast.DeleteStatement — struct
- minisql.sql.ast.DescribeTableStatement — struct
- minisql.sql.ast.DropIndexStatement — struct
- minisql.sql.ast.DropPrincipalStatement — struct
- minisql.sql.ast.DropProcedureStatement — struct
- minisql.sql.ast.DropSchemaStatement — struct
- minisql.sql.ast.DropSequenceStatement — struct
- minisql.sql.ast.DropTableStatement — struct
- minisql.sql.ast.DropTriggerStatement — struct
- minisql.sql.ast.DropViewStatement — struct
- minisql.sql.ast.ExecutePreparedStatement — struct
function existsExpression(query)Implements exists expression 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 |
|---|---|---|---|
query |
dynamic |
— | query value consumed by this operation. |
- minisql.sql.ast.ExistsExpression — struct
- minisql.sql.ast.ExplainStatement — struct
const EXPR_BETWEEN = 12Defines the expr between constant used by the minisql sql ast module.
const EXPR_BINARY = 5Defines the expr binary constant used by the minisql sql ast module.
const EXPR_CASE = 9Defines the expr case constant used by the minisql sql ast module.
const EXPR_CAST = 10Defines the expr cast constant used by the minisql sql ast module.
const EXPR_COLUMN = 2Defines the expr column constant used by the minisql sql ast module.
const EXPR_EXISTS = 16Defines the expr exists constant used by the minisql sql ast module.
const EXPR_FUNCTION = 7Defines the expr function constant used by the minisql sql ast module.
const EXPR_IN = 11Defines the expr in constant used by the minisql sql ast module.
const EXPR_IN_SUBQUERY = 17Defines the expr in subquery constant used by the minisql sql ast module.
const EXPR_IS_NULL = 6Defines the expr is null constant used by the minisql sql ast module.
const EXPR_LITERAL = 1Syntax tree for the MiniSQL SQL front end. The AST contains no catalog
const EXPR_PARAMETER = 8Defines the expr parameter constant used by the minisql sql ast module.
const EXPR_STAR = 3Defines the expr star constant used by the minisql sql ast module.
const EXPR_SUBQUERY = 15Defines the expr subquery constant used by the minisql sql ast module.
const EXPR_TRUTH_TEST = 13Defines the expr truth test constant used by the minisql sql ast module.
const EXPR_TYPED_LITERAL = 14Defines the expr typed literal constant used by the minisql sql ast module.
const EXPR_UNARY = 4Defines the expr unary constant used by the minisql sql ast module.
const EXPR_WINDOW = 18Defines the expr window constant used by the minisql sql ast module.
function expressionKind(value)Implements expression kind for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function floatLiteral(value)Implements float literal for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function formatExpression(expression)Formats expression using the supplied inputs. 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 |
|---|---|---|---|
expression |
dynamic |
— | expression value consumed by this operation. |
function formatFunction(expression)Formats function using the supplied inputs. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
expression |
dynamic |
— | expression value consumed by this operation. |
function formatOrderItem(item)Formats order item using the supplied inputs. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
item |
dynamic |
— | item value consumed by this operation. |
function formatSelect(statement)Formats select using the supplied inputs. 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 |
|---|---|---|---|
statement |
dynamic |
— | statement value consumed by this operation. |
function formatSelectItem(item)Formats select item using the supplied inputs. Requires arguments that satisfy the validation performed below. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
item |
dynamic |
— | item value consumed by this operation. |
function formatStatement(statement)Formats statement using the supplied inputs. 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 |
|---|---|---|---|
statement |
dynamic |
— | statement value consumed by this operation. |
function formatTypeName(value)Formats type name using the supplied inputs. 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 |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function functionExpression(name, arguments, distinct)Implements function expression 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 |
|---|---|---|---|
name |
dynamic |
— | Name of the affected item. |
arguments |
dynamic |
— | arguments value consumed by this operation. |
distinct |
dynamic |
— | distinct value consumed by this operation. |
- minisql.sql.ast.FunctionExpression — struct
- minisql.sql.ast.GrantPrivilegeStatement — struct
- minisql.sql.ast.GrantRoleStatement — struct
function identifier(name, quoted)Implements 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. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
name |
dynamic |
— | Name of the affected item. |
quoted |
dynamic |
— | quoted value consumed by this operation. |
- minisql.sql.ast.Identifier — struct
function inExpression(operand, candidates, negated)Implements in expression 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 |
|---|---|---|---|
operand |
dynamic |
— | operand value consumed by this operation. |
candidates |
dynamic |
— | candidates value consumed by this operation. |
negated |
dynamic |
— | negated value consumed by this operation. |
- minisql.sql.ast.InExpression — struct
- minisql.sql.ast.InsertStatement — struct
function inSubqueryExpression(operand, query, negated)Implements in subquery expression 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 |
|---|---|---|---|
operand |
dynamic |
— | operand value consumed by this operation. |
query |
dynamic |
— | query value consumed by this operation. |
negated |
dynamic |
— | negated value consumed by this operation. |
- minisql.sql.ast.InSubqueryExpression — struct
function integerLiteral(value)Implements integer literal for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isAlterTableStatement(value)Returns whether the supplied value satisfies the alter table statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isAlterTriggerStatement(value)Returns whether the supplied statement changes trigger activation.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isAlterUserStatement(value)Returns whether the supplied value satisfies the alter user statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isAnalyzeStatement(value)Returns whether the supplied value satisfies the analyze statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isBeginStatement(value)Returns whether the supplied value satisfies the begin statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isBetweenExpression(value)Returns whether the supplied value satisfies the between expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isBinaryExpression(value)Returns whether the supplied value satisfies the binary expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCallStatement(value)Returns whether the supplied statement invokes a stored procedure.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCaseExpression(value)Returns whether the supplied value satisfies the case expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCastExpression(value)Returns whether the supplied value satisfies the cast expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isColumnExpression(value)Returns whether the supplied value satisfies the column expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCommitStatement(value)Returns whether the supplied value satisfies the commit statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCreateIndexStatement(value)Returns whether the supplied value satisfies the create index statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCreatePrincipalStatement(value)Returns whether the supplied value satisfies the create principal statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCreateProcedureStatement(value)Returns whether the supplied statement creates a stored procedure.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCreateSchemaStatement(value)Returns whether the supplied statement creates a schema namespace.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCreateSequenceStatement(value)Returns whether the supplied value satisfies the create sequence statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCreateTableStatement(value)Returns whether the supplied value satisfies the create table statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCreateTriggerStatement(value)Returns whether the supplied value satisfies the create trigger statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isCreateViewStatement(value)Returns whether the supplied value satisfies the create view statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDclStatement(value)Returns whether the supplied value satisfies the dcl statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDeallocateStatement(value)Returns whether the supplied value satisfies the deallocate statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDeleteStatement(value)Returns whether the supplied value satisfies the delete statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDescribeTableStatement(value)Returns whether the supplied value satisfies the describe table statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDropIndexStatement(value)Returns whether the supplied value is a DROP INDEX statement.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDropPrincipalStatement(value)Returns whether the supplied value satisfies the drop principal statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDropProcedureStatement(value)Returns whether the supplied statement drops a stored procedure.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDropSchemaStatement(value)Returns whether the supplied statement drops a schema namespace.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDropSequenceStatement(value)Returns whether the supplied value satisfies the drop sequence statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDropTableStatement(value)Returns whether the supplied value satisfies the drop table statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDropTriggerStatement(value)Returns whether the supplied value satisfies the drop trigger statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isDropViewStatement(value)Returns whether the supplied value satisfies the drop view statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isExecutePreparedStatement(value)Returns whether the supplied value satisfies the execute prepared statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isExistsExpression(value)Returns whether the supplied value satisfies the exists expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isExplainStatement(value)Returns whether the supplied value satisfies the explain statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isExpression(value)Returns whether the supplied value satisfies the expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isFunctionExpression(value)Returns whether the supplied value satisfies the function expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isGrantPrivilegeStatement(value)Returns whether the supplied value satisfies the grant privilege statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isGrantRoleStatement(value)Returns whether the supplied value satisfies the grant role statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isImplemented()Returns whether implemented satisfies the condition required by the minisql sql ast module. Returns the computed value or operation status. Does not modify its inputs.
function isInExpression(value)Returns whether the supplied value satisfies the in expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isInsertStatement(value)Returns whether the supplied value satisfies the insert statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isInSubqueryExpression(value)Returns whether the supplied value satisfies the in subquery expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isIsNullExpression(value)Returns whether the supplied value satisfies the is null expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isLiteralExpression(value)Returns whether the supplied value satisfies the literal expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isMergeStatement(value)Returns whether the supplied statement is a MERGE operation.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isMetadataStatement(value)Returns whether the supplied value satisfies the metadata statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isNullExpression(operand, negated)Returns whether the supplied value satisfies the null expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
operand |
dynamic |
— | operand value consumed by this operation. |
negated |
dynamic |
— | negated value consumed by this operation. |
- minisql.sql.ast.IsNullExpression — struct
function isParameterExpression(value)Returns whether the supplied value satisfies the parameter expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isPrepareStatement(value)Returns whether the supplied value satisfies the prepare statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isReindexStatement(value)Returns whether the supplied value satisfies the reindex statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isReleaseSavepointStatement(value)Returns whether the supplied value satisfies the release savepoint statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isRevokePrivilegeStatement(value)Returns whether the supplied value satisfies the revoke privilege statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isRevokeRoleStatement(value)Returns whether the supplied value satisfies the revoke role statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isRollbackStatement(value)Returns whether the supplied value satisfies the rollback statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isRollbackToStatement(value)Returns whether the supplied value satisfies the rollback to statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isSavepointStatement(value)Returns whether the supplied value satisfies the savepoint statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isSelectStatement(value)Returns whether the supplied value satisfies the select statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isShowIndexesStatement(value)Returns whether the supplied value satisfies the show indexes statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isShowProcesslistStatement(value)Returns whether the value is a SHOW PROCESSLIST statement.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isShowStatusStatement(value)Returns whether the value is a SHOW STATUS statement.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isShowTablesStatement(value)Returns whether the supplied value satisfies the show tables statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isShutdownStatement(value)Returns whether the value is a cooperative SHUTDOWN statement.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isStarExpression(value)Returns whether the supplied value satisfies the star expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isStatement(value)Returns whether the supplied value satisfies the statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isSubqueryExpression(value)Returns whether the supplied value satisfies the subquery expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isTruncateStatement(value)Returns whether the supplied value satisfies the truncate statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isTruthTestExpression(value)Returns whether the supplied value satisfies the truth test expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isTypedLiteralExpression(value)Returns whether the supplied value satisfies the typed literal expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isTypeName(value)Returns whether the supplied value satisfies the type name condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isUnaryExpression(value)Returns whether the supplied value satisfies the unary expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isUpdateStatement(value)Returns whether the supplied value satisfies the update statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isVacuumStatement(value)Returns whether the supplied value satisfies the vacuum statement condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function isWindowExpression(value)Returns whether the supplied value satisfies the window expression condition. Returns the computed value or operation status. Does not modify its inputs.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
const JOIN_CROSS = 3Defines the join cross constant used by the minisql sql ast module.
const JOIN_FULL = 5Defines the join full constant used by the minisql sql ast module.
const JOIN_INNER = 1Defines the join inner constant used by the minisql sql ast module.
const JOIN_LEFT = 2Defines the join left constant used by the minisql sql ast module.
const JOIN_RIGHT = 4Defines the join right constant used by the minisql sql ast module.
- minisql.sql.ast.JoinClause — struct
const LITERAL_BOOLEAN = 1Defines the literal boolean constant used by the minisql sql ast module.
const LITERAL_CURRENT_TIMESTAMP = 5Defines the literal current timestamp constant used by the minisql sql ast module.
const LITERAL_FLOAT = 3Defines the literal float constant used by the minisql sql ast module.
const LITERAL_INTEGER = 2Defines the literal integer constant used by the minisql sql ast module.
const LITERAL_NULL = 0Defines the literal null constant used by the minisql sql ast module.
const LITERAL_STRING = 4Defines the literal string constant used by the minisql sql ast module.
- minisql.sql.ast.LiteralExpression — struct
- minisql.sql.ast.MergeStatement — struct
function nullLiteral()Implements null literal for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
- minisql.sql.ast.OrderItem — struct
function parameterExpression(index)Implements parameter expression 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 |
|---|---|---|---|
index |
dynamic |
— | Zero-based index of the affected item. |
- minisql.sql.ast.ParameterExpression — struct
- minisql.sql.ast.PrepareStatement — struct
const PRINCIPAL_ROLE = 2Defines the principal role constant used by the minisql sql ast module.
const PRINCIPAL_USER = 1Defines the principal user constant used by the minisql sql ast module.
- minisql.sql.ast.ProcedureParameter — struct
function quoteString(value)Implements quote string for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
- minisql.sql.ast.ReindexStatement — struct
- minisql.sql.ast.ReleaseSavepointStatement — struct
- minisql.sql.ast.RevokePrivilegeStatement — struct
- minisql.sql.ast.RevokeRoleStatement — struct
- minisql.sql.ast.RollbackStatement — struct
- minisql.sql.ast.RollbackToStatement — struct
- minisql.sql.ast.SavepointStatement — struct
function selectContainsTypedLiteral(statement)Reports whether any clause of a SELECT embeds a typed literal.
| Parameter | Type | Default | Description |
|---|---|---|---|
statement |
dynamic |
— | statement value consumed by this operation. |
- minisql.sql.ast.SelectItem — struct
- minisql.sql.ast.SelectStatement — struct
const SET_EXCEPT = 3Defines the set except constant used by the minisql sql ast module.
const SET_INTERSECT = 2Defines the set intersect constant used by the minisql sql ast module.
const SET_UNION = 1Defines the set union constant used by the minisql sql ast module.
- minisql.sql.ast.SetOperation — struct
- minisql.sql.ast.ShowIndexesStatement — struct
- minisql.sql.ast.ShowProcesslistStatement — struct
- minisql.sql.ast.ShowStatusStatement — struct
- minisql.sql.ast.ShowTablesStatement — struct
- minisql.sql.ast.ShutdownStatement — struct
function starExpression(qualifier)Implements star expression for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
qualifier |
dynamic |
— | qualifier value consumed by this operation. |
- minisql.sql.ast.StarExpression — struct
function stringLiteral(value)Implements string literal for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function subqueryExpression(query)Implements subquery expression 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 |
|---|---|---|---|
query |
dynamic |
— | query value consumed by this operation. |
- minisql.sql.ast.SubqueryExpression — struct
- minisql.sql.ast.TableConstraint — struct
function targetMilestone()Performs the targetMilestone operation for the minisql sql ast module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
- minisql.sql.ast.TruncateStatement — struct
function truthTestExpression(operand, expected, negated)Implements truth test expression 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 |
|---|---|---|---|
operand |
dynamic |
— | operand value consumed by this operation. |
expected |
dynamic |
— | expected value consumed by this operation. |
negated |
dynamic |
— | negated value consumed by this operation. |
- minisql.sql.ast.TruthTestExpression — struct
function typedLiteralExpression(value)Implements typed literal expression 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 |
|---|---|---|---|
value |
dynamic |
— | Value consumed or transformed by the operation. |
function typeName(name, length, precision, scale)Implements type name for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
name |
dynamic |
— | Name of the affected item. |
length |
dynamic |
— | length value consumed by this operation. |
precision |
dynamic |
— | precision value consumed by this operation. |
scale |
dynamic |
— | scale value consumed by this operation. |
- minisql.sql.ast.TypeName — struct
function unaryExpression(operator, operand)Implements unary expression for this module. Returns the computed value or operation status. Any side effects are limited to the explicitly invoked dependencies.
| Parameter | Type | Default | Description |
|---|---|---|---|
operator |
dynamic |
— | operator value consumed by this operation. |
operand |
dynamic |
— | operand value consumed by this operation. |
- minisql.sql.ast.UnaryExpression — struct
- minisql.sql.ast.UpdateStatement — struct
- minisql.sql.ast.VacuumStatement — struct
function windowExpression(name, arguments, partitionBy, orderBy)Implements window expression 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 |
|---|---|---|---|
name |
dynamic |
— | Name of the affected item. |
arguments |
dynamic |
— | arguments value consumed by this operation. |
partitionBy |
dynamic |
— | partitionBy value consumed by this operation. |
orderBy |
dynamic |
— | orderBy value consumed by this operation. |
- minisql.sql.ast.WindowExpression — struct