For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Kotlin: Return data after inserting

Parameters

Examples

With `upsert()`

val toUpsert = Country(id = 2, name = "Mordor")
val count = supabase.from("countries").upsert(toUpsert) {
    select()
}.decodeSingle<Country>()