diff --git a/example.py b/example.py index 8e7e5ec..5258650 100644 --- a/example.py +++ b/example.py @@ -6,14 +6,14 @@ insert_data = [ {"test_text": "example"}, ] -insert_output = square_database_helper.insert_rows( +insert_output = square_database_helper.insert_rows_v0( insert_data, "square", "public", "test" ) print(insert_output) # Example: Get Rows get_filters = {} -get_output = square_database_helper.get_rows( +get_output = square_database_helper.get_rows_v0( get_filters, "square", "public", "test", ignore_filters_and_get_all=True, limit=1 ) print(get_output) @@ -21,14 +21,14 @@ # Example: Edit Rows edit_data = {"test_text": "edited"} edit_filters = {"test_text": "example"} -edit_output = square_database_helper.edit_rows( +edit_output = square_database_helper.edit_rows_v0( edit_data, edit_filters, "square", "public", "test" ) print(edit_output) # Example: Delete Rows delete_filters = {"test_text": "edited"} -delete_output = square_database_helper.delete_rows( +delete_output = square_database_helper.delete_rows_v0( delete_filters, "square", "public", "test" ) print(delete_output)