NAME
SQL::Object::Interp - Yet another SQL condition builder with SQL::Interp
SYNOPSIS
use SQL::Object::Interp qw/isql_obj/;
my $sql = isql_obj('foo.id =', \1, 'AND', 'foo.name =', \'nekokak');
$sql->as_sql; # 'foo.id = ? AND foo.name = ?'
$sql->bind; # qw/1 nekokak/
DESCRIPTION
SQL::Object::Interp is an extension of raw level SQL maker "SQL::Object".
SQL::Object::sql_obj is incompatible with SQL::Interp::sql_interp which returns ($stmt, @binds).
SQL::Object::Interp::isql_obj is a substitute of sql_obj which is compatible with SQL::Interp (like DBIx::Simple::iquery).
METHODS
SQL::Object::Interp inherits SQL::Object.
my $sql = isql_obj(args for sql_interp)
create SQL::Object::Interp's instance.
Uses SQL::Interp to generate $stmt, $bind(s). See SQL::Interp's documentation for usage information.
Requires Mark Storberg's SQL::Interp, which is available from CPAN.
AUTHOR
Narazaka (http://narazaka.net/)
SEE ALSO
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.