This is a quick example of using Seneca.js with seneca-mongo-store to push data to more than one database. It uses the zone part of a Seneca entity namespace to achieve this, following the documentation linked below.
index.js
assumes the existence of two databases on localhost:27017
- test
and test2
.
node index.js