Skip to content

How to return "_id" in string? #1921

@ngooide

Description

@ngooide

Hi all great contributors,
I have this challenges on getting "_id" in string.
as per the image attached,
document _id return as expected as string
but embedsMany return as ObjectId.
Anything that I've done wrongly?
Tq everyone!

value return to json
image

value in mongodb.
image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions