Creates a record if it does not exist, or updates it if it does. This is a convenience wrapper that runs UPSERT <thing> CONTENT <content_json>;.
Arguments
| Argument | Description |
|---|---|
thing | The table or specific record to upsert. |
content_json | The record content as a JSON string. |
session | An optional session id. |
txn | An optional transaction id. |