backbone-couchdb
backbone-couchdb copied to clipboard
Need a way to get a single model by a non-ID attrib
Great app BTW. It's working really well for me other than the fact that there is no way to pull a single model by an attrib that is not the ID.
I think I can work around this by creating a collection with a custom couch view that pulls just one model. But, this seems really hacktastic.
Am I missing the existing way to force model.fetch() to retrieve the model by a non-ID attrib?