Skip to content
No description or website provided.
Perl
Find file
Latest commit 0646a3e Sep 30, 2015 @tokuhirom Checking in changes prior to tagging of version 0.33.
Changelog diff is:

diff --git Changes Changes
index 05f9b15..24b0935 100644
--- Changes
+++ Changes
@@ -1,5 +1,11 @@
 Revision history for Perl module Amon2::DBI

+{{$NEXT}}
+
+0.33 2015-09-30T06:52:06Z
+
+    - testing fix
+
 0.32 2012-12-03

     - Fixed transaction management bug introduced in 0.31.
Failed to load latest commit information.
lib/Amon2 Checking in changes prior to tagging of version 0.33. Sep 30, 2015
t DBD::SQLite's internal call was changed. Sep 30, 2015
xt minil migrate Oct 11, 2013
.gitignore minil migrate Oct 11, 2013
.travis.yml Updated .travis.yml Oct 11, 2013
Build.PL Checking in changes prior to tagging of version 0.33. Sep 30, 2015
Changes Checking in changes prior to tagging of version 0.33. Sep 30, 2015
LICENSE minil migrate Oct 11, 2013
META.json Checking in changes prior to tagging of version 0.33. Sep 30, 2015
README.md Checking in changes prior to tagging of version 0.33. Sep 30, 2015
cpanfile

README.md

NAME

Amon2::DBI - Simple DBI wrapper

SYNOPSIS

use Amon2::DBI;

my $dbh = Amon2::DBI->connect(...);

DESCRIPTION

Amon2::DBI is a simple DBI wrapper. It provides better usability for you.

FEATURES

  • Set AutoInactiveDestroy to true.

    If your DBI version is higher than 1.614, Amon2::DBI set AutoInactiveDestroy as true.

  • Set sqlite_unicode and mysql_enable_utf8 and pg_enable_utf8 automatically

    Amon2::DBI set sqlite_unicode and mysql_enable_utf8 automatically. If using DBD::Pg version less than 2.99, pg_enable_utf8 too.

  • Nested transaction management.

    Amon2::DBI supports nested transaction management based on RAII like DBIx::Class or DBIx::Skinny. It uses DBIx::TransactionManager internally.

  • Raising error when you occurred.

    Amon2::DBI raises exception if your $dbh occurred exception.

ADDITIONAL METHODS

Amon2::DBI is-a DBI. And Amon2::DBI provides some additional methods.

  • $dbh->do_i(@args);

    Amon2::DBI uses SQL::Interp as a SQL generator. Amon2::DBI generate SQL using @args and do it.

  • $dbh->insert($table, \%row);

    It's equivalent to following statement:

    $dbh->do_i(qq{INSERT INTO $table }, \%row);
    

AUTHOR

Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>

SEE ALSO

LICENSE

Copyright (C) Tokuhiro Matsuno

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

Something went wrong with that request. Please try again.