1 package # Hide from PAUSE
2 DBIx::Class::SQLMaker::ACCESS;
6 use base 'DBIx::Class::SQLMaker';
8 # inner joins must be prefixed with 'INNER '
11 my $self = $class->next::method(@_);
13 $self->{_default_jointype} = 'INNER';
18 # MSAccess is retarded wrt multiple joins in FROM - it requires a certain
19 # way of parenthesizing each left part before each next right part
21 my @j = shift->_gen_from_blocks(@_);
23 # first 2 steps need no parenthesis
24 my $fin_join = join (' ', splice @j, 0, 2);
27 $fin_join = sprintf '( %s ) %s', $fin_join, (shift @j);
30 # the entire FROM is *ALSO* expected parenthesized