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.

Swift: Return data after inserting

Perform a SELECT on the query result.

Examples

With `upsert()`

  try await supabase
    .from("instruments")
    .upsert(InstrumentModel(id: 1, name: "piano"))
    .select()
    .execute()