Entity
    Preparing search index...
    • Create a reference to an entity field that can be used in SQL queries. This allows for type-safe references to fields of an entity and does automatic translation to DB field names and will be escaped by Knex using ??.

      Type Parameters

      • TFields extends Record<string, any>
      • N extends string | number | symbol

      Parameters

      • fieldName: N

        The entity field name to reference.

      Returns SQLEntityField<TFields, N>