README
1NAME
2 AnyEvent::DBI::Abstract - AnyEvent::DBI + SQL::Abstract
3
4SYNOPSIS
5 use AnyEvent::DBI::Abstract;
6
7 my $dbh = AnyEvent::DBI::Abstract->new($dsn, $user, $pass);
8
9 $dbh->select($table, \@fields, \%where, \@order, sub {
10 my($dbh, $rows, $rv) = @_;
11 # ...
12 });
13
14 $dbh->insert($table, \%fieldvals, sub {
15 my($dbh, undef, $rv) = @_;
16 # ...
17 });
18
19 $dbh->update($table, \%fieldvals, \%where, sub {
20 my($dbh, undef, $rv) = @_;
21 # ...
22 });
23
24 $dbh->delete($table, \%where, sub {
25 my($dbh, undef, $rv) = @_;
26 # ...
27 });
28
29DESCRIPTION
30 AnyEvent::DBI::Abstract is a subclass of AnyEvent::DBI that has methods
31 to wrap SQL::Abstract methods into "exec". See SQL::Abstract for the
32 parameters to the methods and AnyEvent::DBI for the callback interface.
33
34AUTHOR
35 Tatsuhiko Miyagawa <miyagawa@bulknews.net>
36
37LICENSE
38 This library is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40
41SEE ALSO
42 AnyEvent::DBI SQL::Abstract
43
44