I've probably just missed it in obvious doco but I can't work out how to check if a doc exists in my db using CouchRest.
I tried db.get(id)
but that throws a 404 in my application, and it seems kind of silly to have to try/ catch my way around it.
Is there a simple way to say "if this ID exists -> update, else -> create"?