Skip to content

Unable to set null to field  #2344

Description

@MaXXXXfeng

I created a document A.
A.field1= None
A.save().
But when I try to save the document to MongoDB, the keys with a "None" value are not inserted into the collection. The field1 disappear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions