Kotlin: Column is a value

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.

Parameters

Examples

With select()

supabase.from("cities").select(columns = Columns.list("name")) {
    filter {
       City::name isExact null
       //or
       exact("name", null)
    }
}

With update()

val toUpdate = City(name = "Mordor")
supabase.from("cities").update(toUpdate) {
    filter {
       City::name isExact null
       //or
       exact("name", null)
    }
}

With delete()

supabase.from("cities").delete {
    filter {
       City::name isExact null
       //or
       exact("name", null)
    }
}

With rpc()

supabase.postgrest.rpc("echo_all_cities") {
    filter {
       City::name isExact null
       //or
       exact("name", null)
    }
}