3 class SQL::Abstract::Compat {
5 use Moose::Util::TypeConstraints;
6 use MooseX::Types -declare => [qw/LogicEnum/];
8 enum LogicEnum, qw(OR AND);
18 method select(Str|ArrayRef|ScalarRef $from, ArrayRef|Str $fields,
19 Str|ScalarRef|ArrayRef|HashRef $where?,
20 Str|ScalarRef|ArrayRef|HashRef $order?) {
24 method where(Str|ScalarRef|ArrayRef|HashRef $where?,
25 Str|ScalarRef|ArrayRef|HashRef $order?) {
31 SQL::Abstract::Compant - compatibility layer for SQL::Abstrct v 1.xx
35 This class attempts to maintain the original behaviour of version 1 of
36 SQL::Abstract. It does this by internally converting to an AST and then using
37 the standard AST visitor.
39 If so desired, you can get hold of this transformed AST somehow. This is aimed
40 at libraries such as L<DBIx::Class> that use SQL::Abstract-style arrays or
41 hashes as part of their public interface.
45 Ash Berlin C<< <ash@cpan.org> >>