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
The default db_save_query() overwrites a table by dropping it first. This is not safe because the writing part might fail. A safer way is to rename the old table first, writes the new table, and either drops the renamed table (if the writing succeeds) or reverts the renamed table (if the writing fails).
The text was updated successfully, but these errors were encountered:
The default
db_save_query()
overwrites a table by dropping it first. This is not safe because the writing part might fail. A safer way is to rename the old table first, writes the new table, and either drops the renamed table (if the writing succeeds) or reverts the renamed table (if the writing fails).The text was updated successfully, but these errors were encountered: