Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Apr 8, 2020

MongoDB to throw error when detect '.' in keys insert

Not sure if MongoDB was supposed to be unstructured even for keys. Because MongoDB currently does not support '$' and '.' in its keys, is it possible for MongoDB to throw an error if '$' or '.' are detected in keys during insert? MongoDB currently does not do that and is problematic to fix for previous large databases which have '$' or '.' in keys
  • Attach files