protected function isSelect($query)
    {
        if( $query instanceof Query ) {
            return $query instanceof Select;
        } else {
            return (boolean) preg_match('/^(SELECT|SHOW)/i', trim($query));
        }
    }