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

Multilevel prefetch #134

Closed morkeleb closed 10 years ago

morkeleb commented 10 years ago

We needed to fetch objects in two levels recently. Apparently this is not supported in persistence.js right now. I found this patch: https://gist.github.com/kommander/1256787

Could we have persistence support multi level prefetch per default? That way we wont have to have a patched version :)

zefhemel commented 10 years ago

If you issue this as a pull request, I'd be happy to merge it.

morkeleb commented 10 years ago

Given the pull request this issue can be closed?