Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EJSON support #4

Closed
mquandalle opened this issue Aug 14, 2013 · 3 comments
Closed

EJSON support #4

mquandalle opened this issue Aug 14, 2013 · 3 comments

Comments

@mquandalle
Copy link

I would like to attach a createdAt attribute of type momentjs for a object saved in a mongo collection, and then retrieve this object as is.
The way to achieve this is to create a EJSON type (cf EventedMind).

@mitar
Copy link

mitar commented Aug 20, 2013

+1

@mitar
Copy link

mitar commented Aug 20, 2013

Are you sure EJSON support allows you to store objects directly into MongoDB? I thought it is just so that you can pass those objects between client and server directly.

@dandv
Copy link
Contributor

dandv commented Nov 26, 2014

@mquandalle: I've submitted a PR for official Moment.js integration, moment/moment#2059

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants