Skip to content

How to create a new property those value is ObjectId? #1072

Open
@upirr

Description

@upirr

How to create a new property those value is ObjectId?

Question

Subject. I've tried doing: { $oid: }, of course it's not an ObjectId because of an obvious ambiguity.
And when attempting to write ObjectId() - of course it complains about it not being a proper JSON

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