Insert¶
Insert a single document into the database
Documentation¶
Insert a single document into the database.
For info on how to input data to MongoDB, see MongoDB data format.
Definition¶
Input ports¶
- mongodb mongodb
MongoDB
- document json
Document
Output ports¶
- mongodb 0 - 1, mongodb
MongoDB
- inserted 0 - 1, json
Insert result
- write_operation 0 - 1, json
Write operation. Output write operation instead of performing the operation directly. The write operation can be used as an element in a bulk write input list
Examples¶
Implementation¶
- class node_mongodb.MongoDBInsertOne[source]