GitHub - ewngs/mongodb-use-objectid: Replace string ids with objectId. Works for single string ids, simple document objects and deep document objects containing arrays as well
![mongodb - Do you think using ObjectID as field name is a bad practice? What can go wrong if I follow this design? - Database Administrators Stack Exchange mongodb - Do you think using ObjectID as field name is a bad practice? What can go wrong if I follow this design? - Database Administrators Stack Exchange](https://i.stack.imgur.com/lh6Aj.png)
mongodb - Do you think using ObjectID as field name is a bad practice? What can go wrong if I follow this design? - Database Administrators Stack Exchange
![Error: Cast to ObjectId failed for value \"batchquery\" (type string) at path \"_id\" for model \"Users\" - Node.js Frameworks - MongoDB Developer Community Forums Error: Cast to ObjectId failed for value \"batchquery\" (type string) at path \"_id\" for model \"Users\" - Node.js Frameworks - MongoDB Developer Community Forums](https://www.mongodb.com/community/forums/uploads/default/original/3X/5/5/55c3df1dd1400ce63b49277e9477cb039fb683ee.png)
Error: Cast to ObjectId failed for value \"batchquery\" (type string) at path \"_id\" for model \"Users\" - Node.js Frameworks - MongoDB Developer Community Forums
![How do I query mongodb with an array of strings that should be objects - Queries and Resources - Retool Forum How do I query mongodb with an array of strings that should be objects - Queries and Resources - Retool Forum](https://community.retool.com/uploads/default/original/2X/c/cdd6dc6514352964556a68d54dfe4e9cd752c245.png)
How do I query mongodb with an array of strings that should be objects - Queries and Resources - Retool Forum
![How to get data of inside the array of objects in mongo db - Working with Data - MongoDB Developer Community Forums How to get data of inside the array of objects in mongo db - Working with Data - MongoDB Developer Community Forums](https://www.mongodb.com/community/forums/uploads/default/original/3X/0/e/0e1288d4d1a0ac94833390970caf3670f10056a3.png)