code: function toSQL() {
      if (this._cached) {
        return this._cached;
      }
      if (Array.isArray(this.bindings)) {
        this._cached = replaceRawArrBindings(this);
      } else if (this.bindings && typeof this.bindings === 'object') {
        this._cached = replaceKeyBindings(this);
      } else {
        this._cached = {
          method: 'raw',
          sql: this.sql,
          bindings: this.bindings
        };
      }
      if (this._wrappedBefore) {
        this._cached.sql = this._wrappedBefore + this._cached.sql;
      }
      if (this._wrappedAfter) {
        this._cached.sql = this._cached.sql + this._wrappedAfter;
      }
      this._cached.options = assign({}, this._options);
      return this._cached;
    }
docs: Returns the raw sql for the query.