lib/compiler.js
function update() {
    var updateData = this._prepUpdate(this.single.update);
    var wheres = this.where();
    var returning = this.single.returning;
    return {
      sql: 'update ' + this.tableName + ' set ' + updateData.join(', ') + (wheres ? ' ' + wheres : '') + this._returning(returning),
      returning: returning
    };
  }
function update() {
    var updateData = this._prepUpdate(this.single.update);
    var wheres = this.where();
    var returning = this.single.returning;
    return {
      sql: 'update ' + this.tableName + ' set ' + updateData.join(', ') + (wheres ? ' ' + wheres : '') + this._returning(returning),
      returning: returning
    };
  }
function update ( ) { var updateData = this . _prepUpdate ( this . single . update ) ; var wheres = this . where ( ) ; var returning = this . single . returning ; return { sql : 'update ' + this . tableName + ' set ' + updateData . join ( ', ' ) + ( wheres ? ' ' + wheres : '' ) + this . _returning ( returning ) , returning : returning } ; }
Compiles the "update" query.
Compiles the update query .