(db, fun, opts)
| 8430 | // and override the default behavior |
| 8431 | /* istanbul ignore next */ |
| 8432 | function customQuery(db, fun, opts) { |
| 8433 | return new Promise(function (resolve, reject) { |
| 8434 | db._query(fun, opts, function (err, res$$1) { |
| 8435 | if (err) { |
| 8436 | return reject(err); |
| 8437 | } |
| 8438 | resolve(res$$1); |
| 8439 | }); |
| 8440 | }); |
| 8441 | } |
| 8442 | |
| 8443 | // custom adapters can define their own api._viewCleanup |
| 8444 | // and override the default behavior |
no outgoing calls
no test coverage detected
searching dependent graphs…