/** * Determines whether or not the query is a SELECT INTO type query * @param string $query * @return boolean */ private function isSelectIntoQuery($query) { return Str::containsInsensitive($query, 'into outfile') || Str::containsInsensitive($query, 'into dumpfile'); }