all() {
		if (this._query.values !== undefined) {
			console.log("Warning: Setting values in select statement will be ignored");
		}

		if (this._query.where !== undefined || this._query.groupBy !== undefined || this._query.orderBy !== undefined) {
			throw new SyntaxError("Can not pass conditions, group, or order with all(). Use list() instead.");
		}

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

		let queryString = this.parser.parseQueryString(this._query);

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

		return this._exec(queryString);
	}
/**
	 * fetch all rows from a certain table
	 */
fetch all rows from a certain table
fetch all rows from a certain table
all() {
		if (this._query.values !== undefined) {
			console.log("Warning: Setting values in select statement will be ignored");
		}
		if (this._query.where !== undefined || this._query.groupBy !== undefined || this._query.orderBy !== undefined) {
			throw new SyntaxError("Can not pass conditions, group, or order with all(). Use list() instead.");
		}
		this.opType = 'select';
		this._query.table = this.tableName;
		let queryString = this.parser.parseQueryString(this._query);
		if (this._query.stringify) {
			this._query = {};
			return queryString;
		}
		return this._exec(queryString);
	}
all ( ) { if ( this . _query . values !== undefined ) { console . log ( "Warning: Setting values in select statement will be ignored" ) ; } if ( this . _query . where !== undefined || this . _query . groupBy !== undefined || this . _query . orderBy !== undefined ) { throw new SyntaxError ( "Can not pass conditions, group, or order with all(). Use list() instead." ) ; } this . opType = 'select' ; this . _query . table = this . tableName ; let queryString = this . parser . parseQueryString ( this . _query ) ; if ( this . _query . stringify ) { this . _query = { } ; return queryString ; } return this . _exec ( queryString ) ; }
fetch all rows from a certain table
fetch all rows from a certain table