Constructors

Properties

#arrayOfTextType: undefined | NormalizedDataType
#dialect: AbstractDialect<object, object>
#jsonType: undefined | NormalizedDataType
#operatorMap: Record<symbol, string> = ...

Accessors

Methods

  • This is the recursive "and", "or" and "not" handler of WhereAttributeHashValue (the level after encountering an attribute name). Unlike handleRecursiveNotOrAndWithImplicitAndArray, arrays at the top level have an implicit "IN" operator, instead of an implicit "AND" operator, and this method handles nested JSON paths.

    Parameters

    • leftOperand: unknown
    • whereValue: any
    • allowJsonPath: boolean
    • handlePart: ((left, operator, right) => string)
        • (left, operator, right): string
        • Parameters

          • left: unknown
          • operator: undefined | symbol
          • right: unknown

          Returns string

    • operator: typeof and | typeof or = Op.and
    • parentJsonPath: readonly (string | number)[] = EMPTY_ARRAY

    Returns string

  • This is the recursive "and", "or" and "not" handler of the first level of WhereOptions (the level before encountering an attribute name). Unlike handleRecursiveNotOrAndNestedPathRecursive, this method accepts arrays at the top level, which are implicitly converted to "and" groups. and does not handle nested JSON paths.

    Type Parameters

    • TAttributes

    Parameters

    Returns string