src/back/adapters/Adapter.js
function Adapter() {
  expect(this).to.be.an(
    'object',
    'The Adapter\'s constructor can be only invoked from specialized' +
    'classes\' constructors'
  );

  expect(this.constructor).to.be.a(
    'function',
    'The Adapter\'s constructor can be only invoked from specialized' +
    'classes\' constructors'
  );

  expect(this.constructor).to.not.equal(
    Adapter,
    'The Adapter is an abstract class and cannot be directly initialized'
  );

  expect(this).to.be.instanceof(
    Adapter,
    'The Adapter\'s constructor can be only invoked from specialized' +
    'classes\' constructors'
  );
}
function Adapter() {
  expect(this).to.be.an(
    'object',
    'The Adapter\'s constructor can be only invoked from specialized' +
    'classes\' constructors'
  );

  expect(this.constructor).to.be.a(
    'function',
    'The Adapter\'s constructor can be only invoked from specialized' +
    'classes\' constructors'
  );

  expect(this.constructor).to.not.equal(
    Adapter,
    'The Adapter is an abstract class and cannot be directly initialized'
  );

  expect(this).to.be.instanceof(
    Adapter,
    'The Adapter\'s constructor can be only invoked from specialized' +
    'classes\' constructors'
  );
}
function Adapter ( ) { expect ( this ) . to . be . an ( 'object' , 'The Adapter\'s constructor can be only invoked from specialized' + 'classes\' constructors' ) ; expect ( this . constructor ) . to . be . a ( 'function' , 'The Adapter\'s constructor can be only invoked from specialized' + 'classes\' constructors' ) ; expect ( this . constructor ) . to . not . equal ( Adapter , 'The Adapter is an abstract class and cannot be directly initialized' ) ; expect ( this ) . to . be . instanceof ( Adapter , 'The Adapter\'s constructor can be only invoked from specialized' + 'classes\' constructors' ) ; }
Base class for database adapters. It cannot be directly initialized.
@constructor
@memberof module:back4app-entity/adapters
@example
var myAdapter = new MyAdapter(myConfig);
Base class for database adapters . It cannot be directly initialized .