janmonschke/backbone-couchdb — pull request #44 by radicand (2012-05-04 15:41:49+00:00)
Title: Allow passing "key" and "keys" to fetch

This is especially useful if you have large data sets on the server, and fetch pieces here and there using {keys: [...], add: true} each time you need more, and checking your collection locally for existence before making a remote call.

For the JS, apparently my coffeescript generator is different? Looks slightly more verbose -- let me know if I need to compile it differently.