Kotlin: Column matches a pattern

Finds all rows whose value in the stated column matches the supplied pattern (case sensitive).

Parameters

Examples

With `select()`

supabase.from("cities").select(columns = Columns.list("name")) \{
    filter \{
       City::name like "%la%"
       //or
       like("name", "%la%")
    \}
\}

With `update()`

val toUpdate = City(name = "Mordor")
supabase.from("cities").update(toUpdate) \{
    filter \{
       City::name like "%la%"
       //or
       like("name", "%la%")
    \}
\}

With `delete()`

supabase.from("cities").delete \{
    filter \{
       City::name like "%la%"
       //or
       like("name", "%la%")
    \}
\}

With `rpc()`

supabase.postgrest.rpc("echo_all_cities") \{
    filter \{
       City::name like "%la%"
       //or
       like("name", "%la%")
    \}
\}