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
{{ message }}
This repository was archived by the owner on May 14, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 14, 2026. It is now read-only.
Feature request - Adding support for INSERT OR UPDATE and INSERT OR IGNORE #391
Hello,
It is possible to use the following statement with no changes to library: insert(users).prefix_with("OR IGNORE").values(dict(id=1, name="name1"))
which will render to 'INSERT OR IGNORE INTO users (id, name) VALUES (:id, :name)'
Please notice that this statement is not supported yet in spanner emulator.
Activity
andrew-petukhov commentedon Mar 31, 2024
Hello,
It is possible to use the following statement with no changes to library:
insert(users).prefix_with("OR IGNORE").values(dict(id=1, name="name1"))which will render to
'INSERT OR IGNORE INTO users (id, name) VALUES (:id, :name)'Please notice that this statement is not supported yet in spanner emulator.
feat: add helper function for insert-or-update
feat: add helper function for insert-or-update
feat: add helper function for insert-or-update (googleapis#526)