Kotlin: Column is equal to a value

Finds all rows whose value on the stated column exactly matches the specified value.

Parameters

Examples

With `select()`

supabase.from("cities").select(columns = Columns.list("name", "country_id")) \{
    filter \{
        City::name eq "The Shire"
        //or
        eq("name", "The Shire")
    \}
\}

With `update()`

val toUpdate = City(name = "Mordor")
supabase.from("cities").update(toUpdate) \{
    filter \{
        City::name eq "San Francisco"
        //or
        eq("name", "San Francisco")
    \}
\}

With `delete()`

supabase.from("cities").delete \{
    filter \{
        City::name eq "Mordor"
        //or
        eq("name", "Mordor")
    \}
\}

With `rpc()`

supabase.postgrest.rpc("function") \{
    filter \{
        City::name eq "Mordor"
        //or
        eq("name", "Mordor")
    \}
\}