How can I generate a template or function the returns a value like the sample below…
{“id”:1,
“first_name”:“Yanaton”,
“last_name”:“Kees”,
“IsoDate”: ISODate(‘2018-04-22T12:52:33.336Z’)
}
NOTE: ISODate value not in quote.
Thanks!
How can I generate a template or function the returns a value like the sample below…
{“id”:1,
“first_name”:“Yanaton”,
“last_name”:“Kees”,
“IsoDate”: ISODate(‘2018-04-22T12:52:33.336Z’)
}
NOTE: ISODate value not in quote.
Thanks!
My bad - there is a MongoDB ISO function