Reputation: 23
Is it possible to connect Mathematica to a mongo database? or is Mathematica only able to connect to SQL databases?
Upvotes: 1
Views: 138
Reputation: 138
Wolfram Language version 11.3 now has support: http://reference.wolfram.com/language/MongoLink/guide/MongoLinkOperations.html
You can connect to a MongoDB database via MongoConnect
. For example, connecting to a database running locally:
In[1]:= Needs["MongoLink`"]
client = MongoConnect[];
MongoGetDatabaseNames[client]
Out[2]= {"Test", "admin"}
Upvotes: 1