diff --git a/Examples/Examples/AddTodoListView.swift b/Examples/Examples/AddTodoListView.swift index f6033149..6bfb41f9 100644 --- a/Examples/Examples/AddTodoListView.swift +++ b/Examples/Examples/AddTodoListView.swift @@ -23,7 +23,7 @@ struct AddTodoListView: View { func saveButtonTapped() async { do { let createdTodo: Todo = try await supabase.database.from("todos") - .insert(values: request, returning: .representation) + .insert(request, returning: .representation) .single() .execute() .value diff --git a/Examples/Examples/TodoListView.swift b/Examples/Examples/TodoListView.swift index d167c46c..47d98ae0 100644 --- a/Examples/Examples/TodoListView.swift +++ b/Examples/Examples/TodoListView.swift @@ -105,8 +105,8 @@ struct TodoListView: View { ownerID: auth.currentUserID ) updatedTodo = try await supabase.database.from("todos") - .update(values: updateRequest, returning: .representation) - .eq(column: "id", value: updatedTodo.id) + .update(updateRequest, returning: .representation) + .eq("id", value: updatedTodo.id) .single() .execute() .value @@ -130,7 +130,7 @@ struct TodoListView: View { try await supabase.database.from("todos") .delete() - .in(column: "id", value: todosToDelete.map(\.id)) + .in("id", value: todosToDelete.map(\.id)) .execute() } catch { self.error = error