How to use the pouchdb-adapter-leveldb-core.call function in pouchdb-adapter-leveldb-core

To help you get started, we’ve selected a few pouchdb-adapter-leveldb-core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pouchdb / pouchdb / packages / node_modules / pouchdb-adapter-leveldb / src / index.js View on Github external
/* istanbul ignore else */
  if (!leveldown) {
    leveldown = requireLeveldown();

    /* istanbul ignore if */
    if (leveldown instanceof Error) {
      return callback(leveldown);
    }
  }

  var _opts = Object.assign({
    db: leveldown,
    migrate: migrate
  }, opts);

  CoreLevelPouch.call(this, _opts, callback);
}
github pouchdb / pouchdb-server / packages / node_modules / pouchdb-server / lib / customLevelAdapter.js View on Github external
function CustomLevelPouch(opts, callback) {
    var _opts = assign({
      db: db
    }, opts);

    CoreLevelPouch.call(this, _opts, callback);
  }
github pouchdb / pouchdb / packages / node_modules / pouchdb-adapter-fruitdown / src / index.js View on Github external
function FruitDownPouch(opts, callback) {
  var _opts = Object.assign({
    db: fruitdown
  }, opts);

  CoreLevelPouch.call(this, _opts, callback);
}
github pouchdb / pouchdb / packages / node_modules / pouchdb-adapter-memory / src / index.js View on Github external
function MemDownPouch(opts, callback) {
  var _opts = Object.assign({
    db: memdown
  }, opts);

  CoreLevelPouch.call(this, _opts, callback);
}
github pouchdb / pouchdb / packages / node_modules / pouchdb-adapter-localstorage / src / index.js View on Github external
function LocalStoragePouch(opts, callback) {
  var _opts = Object.assign({
    db: localstoragedown
  }, opts);

  CoreLevelPouch.call(this, _opts, callback);
}

pouchdb-adapter-leveldb-core

Core PouchDB adapter code for LevelDOWN-based adapters

Apache-2.0
Latest version published 5 months ago

Package Health Score

88 / 100
Full package analysis

Popular pouchdb-adapter-leveldb-core functions