BUG: In MongoDB, editing a separate string in a document converts dates to strings

Author: solarflairCreated Sep 25, 2026Updated Sep 26, 2026
Labelsbugaccepted :+1:db/mongo

Describe the bug When making an edit to a string in a document, Beekeeper seems to convert date fields into strings.

To Reproduce Steps to reproduce the behavior:

  1. Have a document that includes both a string and an ISODate field
  2. Edit the string
  3. See if the ISODate has become a string.

Expected behavior Editing one field should not make any changes to other fields.

Screenshots / Gifs Here are screenshots of an example data field in both Beekeeper and Compass (because Compass shows data types in the GUI it helps for the explanation). Image Image

Then I adjust the maxRecords using Beekeeper, and after saving it we see the date field turn into a string:

Image Image

Making the same change just using Compass does not have this effect.

Version Information (please complete the following information):

  • OS: Fedora 44
  • App Version 6.1.2 (but this was noticed in earlier versions too)
  • Database type and version MongoDB 8.2.3

Source: beekeeper-studio/beekeeper-studio