I have created some stored procedures(stored javascript) in my mongodb database. Now i need to call this from a c++ program. I just installed mongocxx driver. is there any api available for calling stored javascvript from c++??
Asked
Active
Viewed 170 times
-1
-
I have just searched for any api available for that. Doesn't find one. – Arun KS Jan 11 '17 at 08:10
-
What is a stored javascript? Just plain text in a file? – Ivan Rubinson Jan 11 '17 at 08:16
-
Stored JS in MongoDB is saved in the system.js collection.[link](http://stackoverflow.com/questions/3876049/mongodb-stored-procedure-equivalent) – Arun KS Jan 11 '17 at 08:30
1 Answers
0
The only features of MongoDB that use server-side stored javascript are described in the manual page Server-side Javascript.
There is no C++ driver API to call such functions.

xdg
- 2,975
- 19
- 17