Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

_MongoCollection.Delete (gb.mongodb)

Sub Delete ( [ Filter As Collection, Options As Collection ] )

Remove some documents from the collection, or drop the entire collection.

  • Filter : The query that will match the documents to remove.

  • Options : Additional command options. See the MongoDB documentation for more details.

If no arguments is passed to that method, the collection is entirely removed from the database.

See the MongoDB documentation for the syntax of the query filter.