struct Instrument: Encodable { let id: Int let name: String } let instrument = Instrument(id: 1, name: "ukelele") try await supabase .from("instruments") .insert(instrument) .execute() Create a record and return it struct Instrument: Codable { let id: Int let name: String } let instrument: Instrument = try await supabase .from("instruments") .insert(Instrument(id: 1, name: "banjo")) .select() // specify you want a s…