Yaniv Bahalker
My feedback
2 results found
-
4 votes
An error occurred while saving the comment Yaniv Bahalker supported this idea ·
-
4 votes
Yaniv Bahalker shared this idea ·
2 results found
Totally agree with you.
If you return a format of `{$oid: "..."}` I'm expecting it to work in the playground but it isn't.
When trying to use $oid in playground it show error "unknown operator: $oid".
So my workaround for now instead of manually change is to use regex (\{\s*\n*"\$oid":\s"(\w+)"\s*\n*\}) and replace with ObjectId("$1").
Same thing for dates and ISODate...