add_insertion
Description:
Add an entry to the BatchOperation, to be inserted on the server when the operation is run.
The insertion will return the inserted version of entry. entry is reffed by the function, so may be freed after it
returns.
callback will be called as specified in the documentation for
add_query, with an operation_type of
INSERTION.
Parameters:
| this | |
| entry |
the Entry to insert |
| callback |
a BatchOperationCallback to call when the insertion is
finished, or |
| user_data |
data to pass to the |
Returns:
|
operation ID for the added insertion, or |