Search code examples
mongodbmathematica-8database

Does Mathematica support connection to mongo Database?


Is it possible to connect Mathematica to a mongo database? or is Mathematica only able to connect to SQL databases?


Solution

  • 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"}