You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
upsert: Perform an upsert which checks for conflicts on columns given by `upsert_conflict_columns` and
524
544
sets the new values on conflicts. Note that `upsert_conflict_columns` is required for this mode.
545
+
overwrite_method : str
546
+
Drop, cascade, truncate, or truncate cascade. Only applicable in overwrite mode.
547
+
548
+
"drop" - ``DROP ... RESTRICT`` - drops the table. Fails if there are any views that depend on it.
549
+
"cascade" - ``DROP ... CASCADE`` - drops the table, and all views that depend on it.
550
+
"truncate" - ``TRUNCATE ... RESTRICT`` - truncates the table. Fails if any of the tables have foreign-key references from tables that are not listed in the command.
551
+
"truncate cascade" - ``TRUNCATE ... CASCADE`` - truncates the table, and all tables that have foreign-key references to any of the named tables.
525
552
index : bool
526
553
True to store the DataFrame index as a column in the table,
0 commit comments