ChangeSet Class
A transactional group of single-record write operations.
All operations succeed or are rolled back together. Use as a context
manager or call records to add operations directly.
Do not instantiate directly; use changeset.
Example:
with batch.changeset() as cs:
ref = cs.records.create("contact", {"firstname": "Alice"})
cs.records.update("account", account_id, {
"primarycontactid@odata.bind": ref
})
Constructor
ChangeSet(internal: _ChangeSet)
Parameters
| Name | Description |
|---|---|
|
internal
Required
|
|