GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
AnyEvent::DBI::Abstract(3) User Contributed Perl Documentation AnyEvent::DBI::Abstract(3)

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

  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) = @_;
      # ...
  });

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.

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

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

AnyEvent::DBI SQL::Abstract
2010-01-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.