async update() {
		if (this._query.groupBy !== undefined || this._query.orderBy !== undefined) {
			throw new SyntaxError("Can not pass group or order to update statement.");
		}

		this.opType = 'update';
		this._query.table = this.tableName;

		this.parser.setOptions({ allowHtml: this.allowHtml, defaultValue: this.defaultValue });
		let queryString = this.parser.parseValues(this._query, 'update');

		if (this._query.stringify) {
			this._query = {};
			return queryString;
		}

		return this._exec(queryString);
	}
/**
	 * update a certain rows in a table
	 */
update a certain rows in a table
update a certain rows in a table
async update() {
		if (this._query.groupBy !== undefined || this._query.orderBy !== undefined) {
			throw new SyntaxError("Can not pass group or order to update statement.");
		}
		this.opType = 'update';
		this._query.table = this.tableName;
		this.parser.setOptions({ allowHtml: this.allowHtml, defaultValue: this.defaultValue });
		let queryString = this.parser.parseValues(this._query, 'update');
		if (this._query.stringify) {
			this._query = {};
			return queryString;
		}
		return this._exec(queryString);
	}
async update ( ) { if ( this . _query . groupBy !== undefined || this . _query . orderBy !== undefined ) { throw new SyntaxError ( "Can not pass group or order to update statement." ) ; } this . opType = 'update' ; this . _query . table = this . tableName ; this . parser . setOptions ( { allowHtml : this . allowHtml , defaultValue : this . defaultValue } ) ; let queryString = this . parser . parseValues ( this . _query , 'update' ) ; if ( this . _query . stringify ) { this . _query = { } ; return queryString ; } return this . _exec ( queryString ) ; }
update a certain rows in a table
update a certain rows in a table