Dart Reference v2.0

Contained by value

Only relevant for jsonb, array, and range columns. Match only rows where every element appearing in column is contained by 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.


final data = await supabase
  .from('classes')
  .select('name')
  .containedBy('days', ['monday', 'tuesday', 'wednesday', 'friday']);