NAME SQL::Maker::DBICLike - The great new SQL::Maker::DBICLike! VERSION Version 0.01 SYNOPSIS use SQL::Maker::DBICLike; use Test::More; my $maker = SQL::Maker::DBICLike->new(driver => 'SQLite', new_line => ' '); my ($sql, @bind) = $maker->select( 'foo', ['id'], {-or => [{hoge => 1}, {fuga => 2}], x => 2 } ); ($sql, @bind) = $maker->select('foo', [\'*'], {}, { order_by => 'bar', limit => 2 }); DESCRIPTION This module inherits SQL::Maker and supports SQL::Abstract "where data" and DBIx::Class::Resultset "attribution data". Methods $maker = SQL::Maker::DBICLike->new(%attr) returns SQL::Maker::DBICLike object $maker->select($table, $columns, $where, $attr) same as SQL::Maker but $where is more compatible SQL::Abstract. $maker->new_select(%atrr) returns SQL::Maker::DBICLike::Select object Attributions columns +columns order_by limit rows page group_by join having from SEE ALSO SQL::Maker, SQL::Abstract, DBIx::Class::Resultset AUTHOR makamaka, "<makamaka at cpan.org>" LICENSE AND COPYRIGHT Copyright 2011 makamaka. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information.