Operations
InsertOperation
const Items = org.objects.c_items;
const _id = Items.insertOne({c_key: 'unique key'}).execute();
return Items.find({_id: _id}).paths('c_key').next();InsertOperation.bypassCreateAcl(bool = true)
InsertOperation.dryRun(bool = true)
InsertOperation.execute()
InsertOperation.grant(level)
InsertOperation.lean(bool = true)
InsertOperation.locale(identifier)
InsertOperation.skipAcl(bool = true)
class BulkOperation
add(operation, options)
async(options)
transform(options)
UpdateOperation
UpdateOperation.dryRun(bool = true)
UpdateOperation.execute()
UpdateOperation.grant(level)
UpdateOperation.lean(bool = true)
UpdateOperation.locale(identifier)
UpdateOperation.merge(bool)
UpdateOperation.pathDelete(path = null)
UpdateOperation.pathPrefix(path = null)
UpdateOperation.pathPush(path = null, body)
UpdateOperation.pathUpdate(path = null, body)
UpdateOperation.skipAcl(bool = true)
DeleteOperation
DeleteOperation.dryRun(bool = true)
DeleteOperation.execute()
DeleteOperation.grant(level)
DeleteOperation.skipAcl(bool = true)
Last updated
Was this helpful?