orderBy(orderByList) {
		if (!Array.isArray(orderByList)) {
			throw new SyntaxError(`orderBy() parameter 1 should be an array, ${typeof orderByList} given.`);
		}

		let orderByParsedList = [];
		orderByList.forEach(orderBy => {
			orderByParsedList.push(orderBy.col + ' ' + orderBy.order);
		});
		this._query.orderBy = orderByParsedList.join(', ');
		return this;
	}
/**
	 * assigns multiple order by columns as well as its directions
	 * @param {array} orderByList 
	 * @returns {Query}
	 */
assigns multiple order by columns as well as its directions
@param {array} orderByList
@returns {Query}
assigns multiple order by columns as well as its directions @param { array } orderByList @returns { Query }
orderBy(orderByList) {
		if (!Array.isArray(orderByList)) {
			throw new SyntaxError(`orderBy() parameter 1 should be an array, ${typeof orderByList} given.`);
		}
		let orderByParsedList = [];
		orderByList.forEach(orderBy => {
			orderByParsedList.push(orderBy.col + ' ' + orderBy.order);
		});
		this._query.orderBy = orderByParsedList.join(', ');
		return this;
	}
orderBy ( orderByList ) { if ( ! Array . isArray ( orderByList ) ) { throw new SyntaxError ( ` ${ typeof orderByList } ` ) ; } let orderByParsedList = [ ] ; orderByList . forEach ( orderBy => { orderByParsedList . push ( orderBy . col + ' ' + orderBy . order ) ; } ) ; this . _query . orderBy = orderByParsedList . join ( ', ' ) ; return this ; }
assigns multiple order by columns as well as its directions
 @param {array} orderByList
 @returns {Query}
assigns multiple order by columns as well as its directions @param { array } orderByList @returns { Query }