Class SchemaAbstract

Represents a SQL-schema implementation.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

connection: Connection

The SQL connection to execute against.

Methods

  • Resolve true if the schema table with the given name has a column with the given name.

    Parameters

    • table: string
    • name: string

    Returns Awaitable<boolean>

  • Resolve true if the schema table with the given name has all the specified columns.

    Parameters

    • table: string
    • name: string[]

    Returns Awaitable<boolean>