![]() ![]() ![]() If true, the mutation will be a dry run - the response will be identical to the one returned had this property been omitted or false (including error responses) but no documents will be affected. deferred: fastest way to write - bypasses real-time indexing completely, and should be used in cases where you are bulk importing/mutating a large number of documents and don't need to see that data in a query for tens of seconds.Unless you are immediately re-querying for something that includes the mutated data, this is the preferred choice. async: request will return immediately when the changes have been committed, but it might still be a second or more until changes are reflected in a query. ![]() sync: request will not return until the requested changes are visible to subsequent queries.visibility ( 'sync'|'async'|'deferred') - default 'sync'.The following options are available for mutations, and can be applied either as the second argument to create(), createOrReplace, createIfNotExist, delete() and mutate() - or as an argument to the commit() method on patches and transactions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |