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.

C#: Retrieve one row of data

Retrieves only one row from the result. Result must be one row (e.g. using limit), otherwise this will result in an error.

Examples

With `Select()`

var result = await supabase.From<City>()
  .Select(x => new object[] { x.Name, x.CountryId })
  .Single();