Retrieves exactly one row. Returns the model when one row matches and throws a PostgrestException when no row or several rows match.
Reason set to FailureHint.Reason.UnexpectedRowCount and status code 406.Single() returns null when no row matches. Use SingleOrThrowAsync() when a missing row is an error.var city = await supabase
.From<City>()
.Filter("id", Operator.Equals, "554")
.SingleOrThrowAsync();