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
Ray Bellis 2019-01-25 18:08:34 +00:00
parent 1b6430ae9f
commit e7dc0766fd
1 changed files with 336 additions and 578 deletions

File diff suppressed because it is too large Load Diff