src/Db/Db.js
/**
	 * Escape a value for use in a raw query without apostrophes
	 * @param {String|Number|Boolean|null} value  The value to escape
	 * @return {String}
	 */
Escape a value for use in a raw query without apostrophes
@param {String|Number|Boolean|null} value  The value to escape
@return {String}
Escape a value for use in a raw query without apostrophes @param { String|Number|Boolean|null } value The value to escape @return { String }
escapeQuoteless(value) {
		let escaped = mysql.escape(value);
		if (escaped.slice(0, 1) === "'" && escaped.slice(-1) === "'") {
			escaped = escaped.slice(1, -1);
		}
		return escaped;
	}
escapeQuoteless ( value ) { let escaped = mysql . escape ( value ) ; if ( escaped . slice ( 0 , 1 ) === "'" && escaped . slice ( - 1 ) === "'" ) { escaped = escaped . slice ( 1 , - 1 ) ; } return escaped ; }
Escape a value for use in a raw query without apostrophes
 @param {String|Number|Boolean|null} value  The value to escape
 @return {String}
Escape a value for use in a raw query without apostrophes @param { String|Number|Boolean|null } value The value to escape @return { String }