kysely
    Preparing search index...

    Function pushValueIntoList

    • When in, pushes a null value into the list resulting in in (null). This is how TypeORM and Sequelize handle in (). in (null) is logically the equivalent of = null, which returns null, which is a falsy expression in most SQL databases. We recommend NOT using this strategy if you plan to use in in select, returning, or output clauses, as the return type differs from the SqlBool default type.

      When not in, casts the left operand as char and pushes a literal value into the list resulting in cast({{lhs}} as char) not in ({{VALUE}}). Casting is required to avoid database errors with non-string columns.

      See replaceWithNoncontingentExpression for an alternative strategy.

      Parameters

      • uniqueNotInLiteral: string & {} | "__kysely_no_values_were_provided__"

      Returns EmptyInListsStrategy