FRENDS⁴ Common Components : Frends.Common.MongoDB.DeleteDocuments

DeleteDocuments performs a delete operation in MongoDB. The filter string is a json string with the values by which to filter documents in the collection - any matching documents will be deleted.

Input Parameters

  • Mongo database connection information
    • ServerAddress (string)
    • ServerPort (string)
    • Database (string)
    • CollectionName (string)
    • Username (string)
    • Password (string)
  • FilterString (string)
    • JSON format: { 'foo':'bar', 'bar': 'foo' }

Output Result

A long value with the amount of deleted documents.


Known issues

  • None