grammar
db.collectionspace.collection.remove([cond],[hint])
Delete records in the collection.
Parameter Description
Note:
- The usage of parameter
cond
andhint
is the same as find() .
return value
-
The detailed result information (BSONObj object) is returned successfully, the structure is as follows:
{ DeletedNum : <INT64> 成功删除的记录数 }
Click on Jushan Database Documentation Center for more information