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.
This commit is contained in:
Ray Bellis 2019-01-25 18:08:34 +00:00
parent 1b6430ae9f
commit e7dc0766fd

File diff suppressed because it is too large Load diff