AnyEvent::DBI + SQL::Abstract
Perl
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/AnyEvent/DBI docs Jan 3, 2010
t use parent; no AE Jan 3, 2010
xt initial commit Jan 3, 2010
.gitignore initial commit Jan 3, 2010
.shipit
Changes initial commit Jan 3, 2010
MANIFEST Checking in changes prior to tagging of version 0.01. Changelog diff is: Jan 3, 2010
MANIFEST.SKIP initial commit Jan 3, 2010
Makefile.PL
README docs Jan 3, 2010

README

NAME
    AnyEvent::DBI::Abstract - AnyEvent::DBI + SQL::Abstract

SYNOPSIS
      use AnyEvent::DBI::Abstract;

      my $dbh = AnyEvent::DBI::Abstract->new($dsn, $user, $pass);

      $dbh->select($table, \@fields, \%where, \@order, sub {
          my($dbh, $rows, $rv) = @_;
          # ...
      });

      $dbh->insert($table, \%fieldvals, sub {
          my($dbh, undef, $rv) = @_;
          # ...
      });

      $dbh->update($table, \%fieldvals, \%where, sub {
          my($dbh, undef, $rv) = @_;
          # ...
      });

      $dbh->delete($table, \%where, sub {
          my($dbh, undef, $rv) = @_;
          # ...
      });

DESCRIPTION
    AnyEvent::DBI::Abstract is a subclass of AnyEvent::DBI that has methods
    to wrap SQL::Abstract methods into "exec". See SQL::Abstract for the
    parameters to the methods and AnyEvent::DBI for the callback interface.

AUTHOR
    Tatsuhiko Miyagawa <miyagawa@bulknews.net>

LICENSE
    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

SEE ALSO
    AnyEvent::DBI SQL::Abstract