Skip to main content

.is_()

A check for exact equality (null, true, false), finds all rows whose value on the stated column exactly match the specified value.

is_ and in_ filter methods are suffixed with _ to avoid collisions with reserved keywords.

final res = await supabase
.from('cities')
.select('name, country_id')
.is_('name', null)
.execute();

Examples#

With select()#

final res = await supabase
.from('cities')
.select('name, country_id')
.is_('name', null)
.execute();

With update()#

final res = await supabase
.from('cities')
.update({ 'name': 'Mordor' })
.is_('name', null)
.execute();

With delete()#

final res = await supabase
.from('cities')
.delete()
.is_('name', null)
.execute();

With rpc()#

// Only valid if the Stored Procedure returns a table type.
final res = await supabase
.rpc('echo_all_cities')
.is_('name', null)
.execute();