-
-
Notifications
You must be signed in to change notification settings - Fork 2
table.upsert()
Oxford Harrison edited this page Nov 15, 2024
·
6 revisions
Programmatically perform an UPSERT
query.
See related ➞
UPSERT
See ➞ INSERT
➞ Syntax
See ➞ INSERT
➞ Usage
An UPSERT
operation is an INSERT
operation that automatically converts to an UPDATE
operation where provided entry matches an existing record by a unique key. API usage is same as insert()
. But UPSERTS are prohibited from having an explicit "ON CONFLICT"/"ON UPDATE" clause.