1 package # Hide from PAUSE
2 DBIx::Class::SQLMaker::ACCESS;
6 use base 'DBIx::Class::SQLMaker';
8 # MSAccess is retarded wrt multiple joins in FROM - it requires a certain
9 # way of parenthesizing each left part before each next right part
11 my @j = shift->_gen_from_blocks(@_);
13 # first 2 steps need no parenthesis
14 my $fin_join = join (' ', splice @j, 0, 2);
17 $fin_join = sprintf '( %s ) %s', $fin_join, (shift @j);
20 # the entire FROM is *ALSO* expected aprenthesized