Unknown expression: mongo_open.
Hi,
I tried to use esProc for running MongoDB queries. When I downloaded esProc, the appropriate driver for MongoDB has not existed. I tried to use the “dbschema” Mongodb driver and it connected successfully. Then, I wrote these commands but some exception was thrown.
=mongo_open(“mongodb://root:example@localhost:27017/Test”)
=mongo_shelll(A1,“students.find()”).fetch()
the error:
Error in cell A1
Unknown expression: mongo_open.
Output:
com.raqsoft.common.RQException: Error in cell A1
Unknown expression: mongo_open
at com.raqsoft.expression.UnknownSymbol.calculate(Unknown Source:175)
at com.raqsoft.expression.SeriesMember.calculate(Unknown Source:59)
at com.raqsoft.expression.Expression.calculate(Unknown Source:107)
at com.raqsoft.cellset.datamodel.PgmNormalCell.calculate(Unknown Source:153)
at com.raqsoft.cellset.datamodel.PgmCellSet._$3(Unknown Source:1993)
at com.raqsoft.cellset.datamodel.PgmCellSet.runNext(Unknown Source:2098)
at com.raqsoft.ide.dfx.IlIIIlIllllIllII.run(Unknown Source:1423)
How can I get the appropriate MongoDB driver for esProc?
How can I run MongoDB commands?
Thanks.
SPL Official Website 👉 https://www.scudata.com
SPL Feedback and Help 👉 https://www.reddit.com/r/esProcSPL
SPL Learning Material 👉 https://c.scudata.com
SPL Source Code and Package 👉 https://github.com/SPLWare/esProc
Discord 👉 https://discord.gg/cFTcUNs7
Youtube 👉 https://www.youtube.com/@esProc_SPL
Please refer to the following to connect to MongoDB.
If you need to connect to other data sources, visit the online document External Library Guide http://doc.raqsoft.com/esproc/ext/