NAME

Async::ORM::DBI::Simple - Simple DBI wrapper

SYNOPSIS

my $dbh = Async::ORM::DBI->new(dbi => "dbi:SQLite:table.db");

DESCRIPTION

This is just a simple DBI wrapper. It should be used only for sequential programming. This way you can use Async::ORM in usual scripts.

ATTRIBUTES

dbh

my $dbh = Async::ORM::DBI->new(dbi => "dbi:SQLite:table.db");
my $original_dbh = $dbh->dbh;

Holds original DBI object.

METHODS

new

Returns new Async::ORM::DBI::Simple instance.

BUILD

Creates internal DBI object. Used internally.

begin_work

A wrapper for begin_work.

commit

A wrapper for commit.

exec

A wrapper for exec.

func

A wrapper for func.

rollback

A wrapper for rollback.

AUTHOR

Viacheslav Tikhanovskii, vti@cpan.org.

COPYRIGHT

Copyright (C) 2009, Viacheslav Tikhanovskii.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.