Home

Column contains every element in a value

Only relevant for jsonb, array, and range columns. Match only rows where column contains every element appearing in value.

Parameters
  • column
    REQUIRED
    string

    The jsonb, array, or range column to filter on

  • value
    REQUIRED
    object

    The jsonb, array, or range value to filter with


const { data, error } = await supabase
  .from('users')
  .select()
  .contains('name', ['is:online', 'faction:red'])
Need some help?

Not to worry, our specialist engineers are here to help. Submit a support ticket through the Dashboard.