[ACTIONS] MongoDb - Aggregation, Update Many Documents, Find a Document
Is there a specific app this action is for?
MongoDb
Please provide a link to the relevant API docs for the specific service / operation.
Aggregation
A thin wrapper around MongoDb aggregation for compounding several operations
db.collection('example').aggregate(pipeline)
https://www.mongodb.com/docs/drivers/node/current/fundamentals/aggregation/
Update Many Documents
db.collection('example').updateMany( filter, operation )
https://www.mongodb.com/docs/drivers/node/current/usage-examples/updateMany/
Find a Document
Find a document
Should be a thin wrapper around the findOne method on MongoDb Node.js:
db.collection('example').findOne(filter, options)
API docs: https://www.mongodb.com/docs/drivers/node/current/usage-examples/findOne/
Hello everyone, I have tested this PR and there're some test cases failed or needed improvement.
Please check the test report below for more information https://vunguyenhung.notion.site/ACTIONS-MongoDb-Aggregation-Update-Many-Documents-Find-a-Document-ea5496dec38a4abfb3a8fc3930bf5431
Hi everyone, all test cases are passed! Ready for release!
Test report https://vunguyenhung.notion.site/ACTIONS-MongoDb-Aggregation-Update-Many-Documents-Find-a-Document-ea5496dec38a4abfb3a8fc3930bf5431