Workspace 6.21.5
|
Calls mongoc_collection_find_with_opts(). See MongoDB's db.collection.find() documentation
Inputs: | |||
---|---|---|---|
Database address | QString | ||
Database name | QString | ||
Collection name | QString | ||
Query | QJsonDocument | JSON query to execute | |
Options | QJsonDocument | JSON 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 ObjectId | QString | Optionally query for this specific ObjectId | |
Return BSON | bool | Return the results as BSON rather than JSON text - needed if results will contain binary items | |
Outputs: | |||
Results | CSIRO::DataExecution::ObjectArray |