MySQL Connector/Node.js X DevAPI Reference Module: CollectionRemove

Factory function that creates an instance of a statement to remove one or more documents from a collection.

Mixes In:
See:

Methods


execute()

Executes the statement in the database that removes all documents from the collection that match the given criteria.

Returns:

Promise that resolves to an object containing the details reported by the server.

Type
Promise.<module:Result>