coresmart / persistencejs

persistence.js is an asynchronous Javascript database mapper library. You can use it in the browser, as well on the server (and you can share data models between them).
http://persistencejs.org
1.73k stars 240 forks source link

implemented one to many and many to many support for mixins #15

Closed bjouhier closed 13 years ago

bjouhier commented 13 years ago

Hi Zef,

I have completed the implementation of mixins. I still need to write more unit tests but the implementation passes a non trivial test.

I merged with your latest master.

Bruno

zefhemel commented 13 years ago

Great, pushed to master. By the way, why is not allowed to prefetch a entity reference if it comes from a mixin?