-
-
Notifications
You must be signed in to change notification settings - Fork 2
table.upsert()
Oxford Harrison edited this page Nov 11, 2024
·
6 revisions
Programmatically perform an UPSERT query.
See also ➞
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 as upsert(). But upserts are prohibited from having an explicit "ON CONFLICT"/"ON UPDATE" clause.