prorm API Reference
    Preparing search index...

    Function jsonDelete

    • Helper to create JSONB delete key condition Deletes a key from JSONB object (PostgreSQL - operator)

      Parameters

      • column: string
      • key: string

      Returns Record<string, any>

      // Delete key from JSONB
      User.findAll({ where: jsonDelete('data', 'key') })
      // SQL: WHERE data - 'key'