We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32000cc commit de04342Copy full SHA for de04342
docs/src/piccolo/query_types/create_table.rst
@@ -11,3 +11,11 @@ This creates the table and columns in the database.
11
12
>>> Band.create_table().run_sync()
13
[]
14
+
15
16
+To prevent an error from being raised if the table already exists:
17
18
+.. code-block:: python
19
20
+ >>> Band.create_table(if_not_exists=True).run_sync()
21
+ []
0 commit comments