src/Select/Select.js
/**
	 * Add WHERE conditions to place inside an OR block (See _conditions for usage)
	 * @param {Array} conditions  A list where each item is an array with parameters that would be taken by where()
	 * @return {Select}
	 */
Add WHERE conditions to place inside an OR block (See _conditions for usage)
@param {Array} conditions  A list where each item is an array with parameters that would be taken by where()
@return {Select}
Add WHERE conditions to place inside an OR block ( See _conditions for usage ) @param { Array } conditions A list where each item is an array with parameters that would be taken by where () @return { Select }
orWhere(conditions) {
		const criteria = [];
		conditions.forEach(condition => {
			this._conditions(criteria, condition);
		});
		const joined = criteria.join(' OR ');
		if (joined.slice(0, 1) === '(' && joined.slice(-1) === ')') {
			this.where(joined);
		} else {
			this.where(`(${joined})`);
		}
		return this;
	}
orWhere ( conditions ) { const criteria = [ ] ; conditions . forEach ( condition => { this . _conditions ( criteria , condition ) ; } ) ; const joined = criteria . join ( ' OR ' ) ; if ( joined . slice ( 0 , 1 ) === '(' && joined . slice ( - 1 ) === ')' ) { this . where ( joined ) ; } else { this . where ( ` ${ joined } ` ) ; } return this ; }
Add WHERE conditions to place inside an OR block (See _conditions for usage)
 @param {Array} conditions  A list where each item is an array with parameters that would be taken by where()
 @return {Select}
Add WHERE conditions to place inside an OR block ( See _conditions for usage ) @param { Array } conditions A list where each item is an array with parameters that would be taken by where () @return { Select }
// TODO: something wrong with this loop