src/Select/Select.js
/**
	 * Remove a join condition with the specified table
	 * @param {String|String[]} table  The name of the table or tables in the first part of the join statement
	 * @return {Select}
	 */
Remove a join condition with the specified table
@param {String|String[]} table  The name of the table or tables in the first part of the join statement
@return {Select}
Remove a join condition with the specified table @param { String|String [] } table The name of the table or tables in the first part of the join statement @return { Select }
unjoin(table) {
		if (Array.isArray(table)) {
			table.forEach(t => this.unjoin(t));
			return this;
		}
		table = escapeRegExp(table);
		this._joins = this._joins.filter(join => {
			const regex = new RegExp(`^([A-Z]+) JOIN ${table}\\b`);
			return !regex.test(join);
		});
		return this;
	}
unjoin ( table ) { if ( Array . isArray ( table ) ) { table . forEach ( t => this . unjoin ( t ) ) ; return this ; } table = escapeRegExp ( table ) ; this . _joins = this . _joins . filter ( join => { const regex = new RegExp ( ` ${ table } \\ ` ) ; return ! regex . test ( join ) ; } ) ; return this ; }
Remove a join condition with the specified table
 @param {String|String[]} table  The name of the table or tables in the first part of the join statement
 @return {Select}
Remove a join condition with the specified table @param { String|String [] } table The name of the table or tables in the first part of the join statement @return { Select }