Skip to main content
Version: v2 RC

in()

Match only rows where column is included in the values array.

const { data, error } = await supabase
.from('countries')
.select()
.in('name', ['Albania', 'Algeria'])

Parameters

  • columnrequiredColumnName

    The column to filter on

  • valuesrequiredobject

    The values array to filter with

Examples

With select()

const { data, error } = await supabase
.from('countries')
.select()
.in('name', ['Albania', 'Algeria'])