NAME

DBIx::ObjectMapper::Engine::DBI - the DBI engine

SYNOPSIS

my $engine = DBIx::ObjectMapper::Engine::DBI->new({
    dsn => 'DBI:SQLite',
    username => 'username',
    password => 'password',
    AutoCommit         => 1,
    RaiseError         => 1,
    PrintError         => 0,
    ShowErrorStatement => 1,
    HandleError        => sub{ confess($_[0]) },
    on_connect_do => [],
    on_disconnect_do => [],
    db_schema => 'public',
    namesep => '.',
    quote => '"',
    iterator => '',
    time_zone => 'UTC',
    disable_prepare_caching => '',
    cache => '',
});

# or like a DBI module

my $engine = DBIx::ObjectMapper::Engine::DBI->new([
    'DBI:SQLite','username', 'password',
    {
       AutoCommit         => 1,
       RaiseError         => 1,
       PrintError         => 0,
       ShowErrorStatement => 1,
       HandleError        => sub{ confess($_[0]) },
       on_connect_do => [],
       on_disconnect_do => [],
       db_schema => 'public',
       namesep => '.',
       quote => '"',
       iterator => '',
       time_zone => 'UTC',
       disable_prepare_caching => '',
       cache => '',
    }
]);

DESCRIPTION

PARAMETERS

dsn

username

password

on_connect_do

on_disconnect_do

db_schema

namesep

quote

iterator

time_zone

disable_prepare_caching

cache

METHODS

iterator

namesep

datetime_parser

time_zone

cache

driver_type

query

driver

dbh

connected

connect

disconnect

txn_begin

txn_commit

txn_rollback

txn_do

svp_do

dbh_do

transaction

get_primary_key

get_column_info

get_unique_key

get_foreign_key

get_tables

select

select_single

update

insert

delete

log_sql

log_connect

log_cache

get_cache_id

AUTHOR

Eisuke Oishi

COPYRIGHT

Copyright 2010 Eisuke Oishi

LICENSE

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