Connect to MongoDB

Your administrator must create a Data Source for MongoDB that you can access. See Connect to MongoDB in the Admin Guide.

After your administrator has created the Data Source, you can work with it in your project as usual.

Note

Domino data sources do not support querying nested objects. The workaround is to UNNEST the object in the SQL query.

The following is an example UNNEST query:

res = ds.query("""
select account_id, t1
from sample_analytics.transactions
cross join unnest (transactions)
as t(t1, t2, t3, t4, t5, t6)
""")

Next steps