prorm API Reference
    Preparing search index...

    Function all

    • Helper to create ALL condition for array queries PostgreSQL: column = ALL(array_column)

      Parameters

      • column: string
      • values: any[]

      Returns Record<string, any>

      // Find users where role matches all values in the roles array
      User.findAll({ where: { roles: { [Op.all]: ['admin', 'moderator'] } } })