src/Adapters/Storage/Postgres/PostgresStorageAdapter.js
// and resolves with false if it wasn't (eg. a join table). Rejects if deletion was impossible.
and resolves with false if it wasn't . Rejects if deletion was impossible.
and resolves with false if it wasn ' t . Rejects if deletion was impossible .
deleteClass(className) {
    return Promise.resolve().then(() => {
      let operations = [[`DROP TABLE IF EXISTS $1:name`, [className]],
        [`DELETE FROM "_SCHEMA" WHERE "className"=$1`, [className]]];
      return this._client.tx(t=>t.batch(operations.map(statement=>t.none(statement[0], statement[1]))));
    }).then(() => {
      return className.indexOf('_Join:') != 0;
    });
  }
deleteClass ( className ) { return Promise . resolve ( ) . then ( ( ) => let operations = [ [ ` ` , [ className ] ] , [ ` ` , [ className ] ] ] ; return this . _client . tx ( t => t . batch ( operations . map ( statement => t . none ( statement [ 0 ] , statement [ 1 ] ) ) ) ) ; } ) . then ( ( ) => return className . indexOf ( '_Join:' ) != 0 ; } ) ; }
and resolves with false if it wasn't (eg.
and resolves with false if it wasn ' t ( eg .
// resolves with false when _Join table