mongoengine icon indicating copy to clipboard operation
mongoengine copied to clipboard

Store empty list instead of unset

Open bagerard opened this issue 4 years ago • 2 comments

Currently, if you set a ListField to an empty list, it unset it in the database instead of storing an empty list. This is bad because it creates inconsistencies which can lead to confusion in queries

Fixes #267 Fixes #761 Relates to #2342

bagerard avatar May 15 '21 19:05 bagerard

any new developments regarding this?

vvladic avatar Mar 02 '23 09:03 vvladic