We could insert data with json as:
1 | { |
If you want to use ISODate function or any other javascript function you should see how MongoDB Java Driver deals with it. For example in case of ISODate:
1 | "bornAt":{ "$date" : "2015-01-05T10:09:15.210Z"} |
izheyi.com
We could insert data with json as:
1 | { |
If you want to use ISODate function or any other javascript function you should see how MongoDB Java Driver deals with it. For example in case of ISODate:
1 | "bornAt":{ "$date" : "2015-01-05T10:09:15.210Z"} |