• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

inc/H03-Jan-2010-2,0761,514

lib/AnyEvent/DBI/H03-Jan-2010-8422

t/H03-Jan-2010-3727

xt/H03-Jan-2010-2622

.gitignoreH A D03-Jan-201037 65

ChangesH A D03-Jan-2010119 53

MANIFESTH A D03-Jan-2010588 2827

META.ymlH A D03-Jan-2010689 3231

Makefile.PLH A D03-Jan-2010343 1413

READMEH A D03-Jan-20101.1 KiB4432

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