Search results for "module:DBIx::Roles"
DBIx::Roles - Roles for DBI handles
The module provides common API for using roles (AKA mixins/interfaces/plugins) on DBI handles. The problem it solves is that there are a lot of interesting and useful "DBIx::" modules on CPAN, that extend the DBI functionality in one or another way, ...
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::Hook - Exports callbacks to override DBI calls.
Exports a single attribute "Hooks" that is a hash, where keys are "connect", "disconnect", "any", "rewrite", "dbi_method", "STORE", and values are code references, to be called when the corresponding calls occur....
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::Shared - Share DB connection handles
Caches DB handles for already established connections, and returns these when another "connect" call is issued. Serves as a replacement to "DBI-> connect_cached"....
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::Buffered - buffer write-only queries.
Saves do() and selectrow_array() in a buffer, calls these as a single query later. Useful with lots of UPDATES and INSERTS over connections with high latency....
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::RaiseError - change defaults to < RaiseError = 1 >>
The role replaces the (arguably) most used pair of attributes { RaiseError => 1, PrintError => 0 } to "DBI-> connect()" with the role syntax use DBIx::Roles qw(MyRole1 MyRole2 ... RaiseError); just for beautification sake....
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::InlineArray - Flattens arrays passed as parameters to DBI calls into strings.
Recursively straightens array references into {,,}-strings. Useful for DBD implementations that cannot do that themselves...
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::SQLAbstract - Exports SQL commands insert, select etc as methods.
The role exports SQL commands "insert", "select", "update", "delete" after SQL::Abstract fashion. See SQL::Abstract for syntax of these methods....
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::Transaction - allow nested transactions.
Wraps "begin_work", "rollback", and "commit" calls so that these can be called inside transactions. If an inner transaction calls "rollback", all outer transactions fail. The original idea appeared in DBIx::Transactions by Tyler MacDonald....
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::AutoReconnect - restart DBI calls after reconnecting on failure
The role wraps all calls to DBI methods call so that any operation with DB connection handle that fails due to connection break ( server shutdown, tcp reset etc etc), is automatically reconnected. The role is useful when a little more robustness is d...
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::Roles::StoredProcedures - Treats any method reached AUTOLOAD as a call to a stored procedure.
Useful when database contains many stored procedures....
KARASIK/DBIx-Roles-1.04 - 30 Jan 2006 11:02:26 UTC
DBIx::PgLink::Adapter::Roles::Safe - DBIx::Safe wrapper
Role add DBIx::Safe protection to DBI handle and load security rules from PostgreSQL table *dbix_pglink.safe*. Can be applied only in PL/Perl environment. For now, DBIx::Safe support only PostgreSQL (DBD::Pg)....
ASVBR/DBIx-PgLink-0.01 - 27 Dec 2007 09:11:40 UTC
lib/DBIx/PgLink/Adapter/Roles/EmulateColumnInfo.pm
ASVBR/DBIx-PgLink-0.01
-
27 Dec 2007 09:11:40 UTC
lib/DBIx/PgLink/Adapter/Roles/NestedTransaction.pm
ASVBR/DBIx-PgLink-0.01
-
27 Dec 2007 09:11:40 UTC
DBIx::PgLink::Adapter::Roles::Reconnect - detect connection loss, reconnect and restart DBI call
The role wraps some calls to DBI methods so that operation that fails due to connection break ( server shutdown, network troubles, etc), is automatically reconnected. Failed operation will be repeated if AutoCommit mode on (no transaction). If transa...
ASVBR/DBIx-PgLink-0.01 - 27 Dec 2007 09:11:40 UTC
DBIx::PgLink::Adapter::Roles::InitSession - execute initializing SQL statements after connection
Applied in PL/Perl environment only. SQL query stored in *dbix_pglink.init_session* table....
ASVBR/DBIx-PgLink-0.01 - 27 Dec 2007 09:11:40 UTC