Connecting
Connecting with the cdata.mongodb Module:
The connector's module is used directly to establish a connection with the data source. It does this by using a connection string as its argument. For example:import cdata.mongodb as mod conn = mod.connect("Server=127.0.0.1;Port=27017;Database=test;User=test;Password=test;")
Once the connection is created, you can use it to execute subsequent SQL queries.