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: Strip null values

Strip null values from the response.

Examples

Strip null values

struct Character: Decodable {
  let id: Int
  let name: String
  let nickname: String?
}

let characters: [Character] = try await supabase
  .from("characters")
  .select()
  .stripNulls()
  .execute()
  .value