lib/compiler.js
function del() {
    // Make sure tableName is processed by the formatter first.
    var tableName = this.tableName;
    var wheres = this.where();
    var sql = 'delete from ' + tableName + (wheres ? ' ' + wheres : '');
    var returning = this.single.returning;
    return {
     sql: sql + this._returning(returning),
     returning: returning
   };
  }
function del() {
    // Make sure tableName is processed by the formatter first.
    var tableName = this.tableName;
    var wheres = this.where();
    var sql = 'delete from ' + tableName + (wheres ? ' ' + wheres : '');
    var returning = this.single.returning;
    return {
     sql: sql + this._returning(returning),
     returning: returning
   };
  }
function del ( ) { // Make sure tableName is processed by the formatter first. var tableName = this . tableName ; var wheres = this . where ( ) ; var sql = 'delete from ' + tableName + ( wheres ? ' ' + wheres : '' ) ; var returning = this . single . returning ; return { sql : sql + this . _returning ( returning ) , returning : returning } ; }
Compiles a `delete` query.
Compiles a delete query .