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

Support embeddable association (denormalization) #428

Closed
wants to merge 2 commits into from

Conversation

clark0x
Copy link

@clark0x clark0x commented May 14, 2014

With certain commits in waterline-schema and sails-mongo,
association can be set to embeddable using embed keyword. And if so,
the associating model can be fully or partially embedded. This is
denormalization, and only works with sails-mongo currently.

https://github.com/balderdashy/waterline/issues/427

Clark Wang added 2 commits May 15, 2014 00:17
With certain commits in `waterline-schema` and `sails-mongo`,
association can be set to embeddable using `embed` keyword. And if so,
the associating model can be fully or partially embedded. This is
denormalization, and only works with `sails-mongo` currently.
@particlebanana particlebanana added this to the Work In Progress milestone May 19, 2014
@leobudima
Copy link

Would be absolutely great if we could push this through!

@arxpoetica
Copy link

For anyone wondering what this all means, here's some light reading: http://blog.mongodb.org/post/87892923503/6-rules-of-thumb-for-mongodb-schema-design-part-2

@elennaro
Copy link
Contributor

+1 for this

@particlebanana
Copy link
Contributor

Hey @clarkorz thanks for your time on this. I know it's been sitting here for a while and that's mainly because I felt guilty closing it after the time that went into it. Now it's been sitting long enough that it can't be merged.

I have denormalization on the roadmap. It's something I would like to see a full spec on, especially how deep querying could work but it just doesn't fit into the project right now.

If anyone feels very passionately about this and wants to write up a spec based on the Contribution Guide that would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants