NAME

Async::ORM::SQL - SQL factory for Async::ORM

SYNOPSIS

my $sql = Async::ORM::SQL->build('select');

$sql = Async::ORM::SQL->build('insert');
$sql->table('foo');
$sql->columns([qw/a b c/]);
$sql->bind([qw/a b c/]);

DESCRIPTION

This an SQL factory for Async::ORM.

METHODS

build

Returns a new instance of Async::ORM::SQL::Select, Async::ORM::SQL::Insert, Async::ORM::SQL::Update or Async::ORM::SQL::Delete.

AUTHOR

Viacheslav Tikhanovskii, vti@cpan.org.

COPYRIGHT

Copyright (C) 2009, Viacheslav Tikhanovskii.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.