Are there plans to add support for <PostgREST aggr...
# supabase-kt
c
Are there plans to add support for PostgREST aggregate functions, or does support exist already that I'm missing? I'm specifically looking to use
sum()
, which doesn't seem to be available in the Kotlin SDK at the moment
j
They work exactly the same as the JS client, the example from the blog post you linked can be translated 11
Copy code
const { data, error } = await supabase
  .from('movies')
  .select('release_year.max(), release_year.min()')
->
Copy code
supabase.from("movies").select(Columns.raw("release_year.max(), release_year.min()"))
They are used in the columns parameter, like the JS client