Watch https://www.youtube.com/watch?v=Ice3myP99VI for a 2-minutes demo
All other nodes depend on this one, it requires a TingoDB database path. Collection name is a per-node property.
Database path must be a folder, TingoDB uses a file to save each collection
Inserts the msg.payload
as document into a collection.
Looks for documents into a collection using msg.payload
as predicate.
Updates a collection's documents. msg.predicate
will be the filter and msg.update
the update operation itself. db.collection(collectionName).update(...)
is invoked using {multi: true}
.
Removes documents from a collection. msg.payload
will be the filtermsg.update
the update operation itself. db.collection(collectionName).remove
is invoked using {multi: true}
.