Repositories (1)
dbix-class
6 snippets stored for this repo
# assume any plain no-space, no-parenthesis string to be a column spec
# FIXME - this is retarded but is necessary to support shit like 'count(foo)'
elsif ( ! ref $_ and $_ =~ /^ [^\s\(\)]+ $/x) {
$sql_maker->{quote_char} = [ "\x00", "\xFF" ];
# if we don't unset it we screw up retarded but unfortunately working
# 'MAX(foo.bar)' => { '>', 3 }
unless (defined $sql_maker->{quote_char} and length $sql_maker->{quote_char}) {
$sql_maker->{quote_char} = ["\x00", "\xFF"];
# if we don't unset it we screw up retarded but unfortunately working
# 'MAX(foo.bar)' => { '>', 3 }
$sql_maker->{name_sep} = '';
}
use warnings;
use base 'DBIx::Class::SQLMaker';
# MSAccess is retarded wrt multiple joins in FROM - it requires a certain
# way of parenthesizing each left part before each next right part
sub _recurse_from {
my @j = shift->_gen_from_blocks(@_);
# the above line forces Test::Harness into taint-mode
# DO NOT REMOVE
# When in taint mode, PERL5LIB is ignored (but *not* unset)
# Put it back in INC so that local-lib users can actually