Class SchemaBuilder<Database, Return, Ext>

Builds a SELECT statement.

Type Parameters

Hierarchy

  • CallableInstance<never[], unknown>
    • SchemaBuilder

Constructors

Properties

_AlterDomainBuilder: typeof AlterDomainBuilder = AlterDomainBuilder
_AlterTableBuilder: typeof AlterTableBuilder = AlterTableBuilder
_statements: SchemaStatement<Ext>[]
fn: Functions<Database, never, Ext>

Methods

  • Parameters

    • behavior: DropBehaviorArg

    Returns "Cascade" | "Restrict"

  • Removes all type information from the builder allowing you to construct whatever you want. Generally the schema language doesn't assume the passed schema is complete so this shouldn't be necessary but it's provided as a safeguard.

    Returns SchemaBuilder<any, any, Ext>

Generated using TypeDoc