Workspace 6.21.5
MongoDbRead

Calls mongoc_collection_find_with_opts(). See MongoDB's db.collection.find() documentation

  • Default label: "MongoDB read"
  • Member of plug-in: Distributed
  • Catalogue path: Distributed
Inputs:
Database addressQString

Database nameQString

Collection nameQString

QueryQJsonDocumentJSON query to execute
OptionsQJsonDocumentJSON query options, including sort order and which fields to return. See documentation on the 'projection' parameter to db.collection.find. E.g. To sort by 'Name' field use {"sort":{"Name": 1}}
Query ObjectIdQStringOptionally query for this specific ObjectId
Return BSONbool

Return the results as BSON rather than JSON text - needed if results will contain binary items

Outputs:
ResultsCSIRO::DataExecution::ObjectArray