Skip to content

bson.errors.invalidDocument: key * must not contains '.' #720

Closed

Description

@engFelipeMonteiro

When using a real mongodb database I can include a entry like a below, but in mongomock it not possible.

{"object.name": value}

When I add this in real database it works, but in mongomock doesn`t.

Activity

  1. oekstein commented on Feb 15, 2022

    @oekstein

    Just encountered the same problem.. Any update on this issue?

  2. pcorpet commented on Feb 15, 2022

    @pcorpet
    Member

    Thanks for reporting this. Handling key with dots is not supported by mongomock yet. PRs are welcomed though.

  3. added
    enhancement
    on Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions