sqlkit
    Preparing search index...

    Function inArray

    • Creates a condition to check if a value is in a list

      Type Parameters

      • T
      • K extends string | number | symbol

      Parameters

      • key: K

        The column name

      • values: T[K][]

        The list of values to check against

      Returns SimpleWhere<T>

      A SimpleWhere condition