col: ((...identifiers) => Col)

Type declaration

    • (...identifiers): Col
    • Creates an object which represents a column in the DB, this allows referencing another column in your query. This is often useful in conjunction with fn, where and sql which interpret strings as values and not column names.

      Col works similarly to Identifier, but "*" has special meaning, for backwards compatibility.

      ⚠️ We recommend using Identifier, or Attribute instead.

      Parameters

      • Rest ...identifiers: string[]

        The name of the column

      Returns Col

Generated using TypeDoc