Skip to content

Instantly share code, notes, and snippets.

@rkitover
Created July 5, 2012 20:17
Show Gist options
  • Select an option

  • Save rkitover/3056193 to your computer and use it in GitHub Desktop.

Select an option

Save rkitover/3056193 to your computer and use it in GitHub Desktop.
sub _is_text_type {
my ($self, $data_type) = @_;
return $self->result_source->storage->_is_text_lob_type($data_type)
|| $data_type =~ /(?:long\s+)?(?:var)?char(?:acter)?(?:\(max\))?|(?:long\s+)?char(?:acter)?\s+varying|(?:tiny|medium|long|uni|n)?text|(?:long\s+)?n(?:var)?char(?:\(max\))?|lvarchar|string|national character(?:\s+varying)?|uni(?:var)?char|xml/i;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment