I have found a collection in one of our MongoDB databases with the name my.collection.
my.collection
Is there a way to access this collection from the MongoDB shell,
if collection name is "my.collection"
db.my.collection.findOne(); // OK null
if collection name is "my.1.collection"
db.my.1.collection.findOne(); // Not OK SyntaxError: missing ; before statement
Fix:
db["my.1.collection"].findOne(); // Now is OK null