lib/builder.js
function whereExists(callback) {
    this._statements.push({
      grouping: 'where',
      type: 'whereExists',
      value: callback,
      not: this._not(),
      bool: this._bool() });
    return this;
  }
function whereExists(callback) {
    this._statements.push({
      grouping: 'where',
      type: 'whereExists',
      value: callback,
      not: this._not(),
      bool: this._bool() });
    return this;
  }
function whereExists ( callback ) { this . _statements . push ( { grouping : 'where' , type : 'whereExists' , value : callback , not : this . _not ( ) , bool : this . _bool ( ) } ) ; return this ; }
Adds a `where exists` clause to the query.
Adds a where exists clause to the query .