Accessing MongoDB databases

Read(143) Label: mongocli,

1. Download the following third-party jars from the web and put them in esProc external library folder. Get the appropriate jars according to the MongoDB version you are using. The directory containing files of this external library is: installation directory\esProc\extlib\MongoCli. The Raqsoft core jar for this external library is MongoCli.jar.

bson-3.6.3.jar

mongo-java-driver-3.6.3.jar

Note: The third-party jars are provided within the package and users can choose appropriate ones for specific scenarios.

 

2. esProc provides three library functions - mongo_open(),mongo_insert(), mongo_shell() and mongo_close() - to access the MongoDB databases. Look up them inHelp-Function referenceto find the uses.