db/API.js: complete conversion to Promises
This patch also contains significant refactoring relating to error checking of arguments supplied to the functions (e.g. rev) facilitated by use of `throw` instead of nodeback errors.pull/3559/head
parent
1b6430ae9f
commit
e7dc0766fd