-
Notifications
You must be signed in to change notification settings - Fork 1
API Transaction
Transaction(entities) -> Transaction
Entities describes the data in the transaction. See the section on Transactions for details.
- entities Array of the first list of entities in the transaction.
returns The transaction.
add(entities) -> Transaction
Add these entities to the transaction.
- entities Array of entities to add to the transaction.
returns The transaction.
attributes(values) -> Transaction
Specify attribute values. Any attribute can be added. The remote
runtime is responsible for specifying how it handles these values.
- values Object of key/value meta values to set.
returns The transaction.
getting this
Triggered when a get transaction is ready to be sent to a remote runtime, but before it has been passed to the store.
- this A reference to the transaction.
gotten this Triggered when a get transaction has been completely expanded.
- this A reference to the transaction.
persisting this Triggered when a persist transaction is ready to be sent to a remote runtime, but before it has been passed to the store.
- this A reference to the transaction.
persisted this Triggered when a persist transaction has been completely expanded.
- this A reference to the transaction.