WriteTransaction
Functions
Adds a new item to the database using an in-line or auto-incrementing key. If an item with the same key already exists, this will fail.
Adds a new item to the database using an explicit out-of-line key. If an item with the same key already exists, this will fail.
When autoContinue is true
, all values matching the query will emit automatically. It is important not to suspend in flow collection on anything other than flow operators (such as .toList
).
When autoContinue is true
, all values matching the query will emit automatically. It is important not to suspend in flow collection on anything other than flow operators (such as .toList
).
Adds an item to or updates an item in the database using an in-line or auto-incrementing key. If an item with the same key already exists, this will replace that item. Note that with auto-incrementing keys a new item will always be inserted.
Adds an item to or updates an item in the database using an explicit out-of-line key. If an item with the same key already exists, this will replace that item.