"SequoiaDB Giant Sequoia Database" remove() Overview 2

error

error code

Example

Delete all records in the collection

db.sample.employee.remove()

Delete the records matching the cond condition according to the access plan. The following operation traverses the records in the collection according to the index named "myIndex", and deletes the records with the age field value greater than or equal to 20 from the traversed records.

db.sample.employee.remove( { age: { $gte: 20 } }, { "": "myIndex" } )

Click on Jushan Database Documentation Center for more information

Guess you like

Origin blog.csdn.net/weixin_48909806/article/details/112946142