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

Add a 'through' parameter to relationships #48

Open pmarti opened 13 years ago

pmarti commented 13 years ago

I would like to be able to specify the intermediate table in a many to many relationship so it can have some extra fields. What I'm looking for is a ':trough' parameter in ActiveRecord lingo.