I'm storing lists of tuples into a MongoDB database using PyMongo
. For some reason, when I view the data in the mongo shell, the tuples are represented by square brackets.
In addition, when I extract the data from the database and check its type()
, python tells me it's a list.
Is it possible to store a tuple in a mongo database?