Package : perl-Dancer-Plugin-Database > RPM : perl-Dancer-Plugin-Database-2.110.0-3.mga6.src.rpm
Basic items
Name | perl-Dancer-Plugin-Database |
Version | 2.110.0 |
Release | 3.mga6 |
URL | http://search.cpan.org/dist/Dancer-Plugin-Database |
Group | Development/Perl |
Summary | Subclassed DBI connection handle |
Size | 23KB |
Arch | noarch |
License | GPL+ or Artistic |
Description
Provides an easy way to obtain a connected DBI database handle by simply
calling the database keyword within your the Dancer manpage application
Returns a the Dancer::Plugin::Database::Handle manpage object, which is a
subclass of the DBI manpage's 'DBI::db' connection handle object, so it
does everything you'd expect to do with DBI, but also adds a few
convenience methods. See the documentation for the
Dancer::Plugin::Database::Handle manpage for full details of those.
Takes care of ensuring that the database handle is still connected and
valid. If the handle was last asked for more than
'connection_check_threshold' seconds ago, it will check that the connection
is still alive, using either the '$dbh->ping' method if the DBD driver
supports it, or performing a simple no-op query against the database if
not. If the connection has gone away, a new connection will be obtained and
returned. This avoids any problems for a long-running script where the
connection to the database might go away.
calling the database keyword within your the Dancer manpage application
Returns a the Dancer::Plugin::Database::Handle manpage object, which is a
subclass of the DBI manpage's 'DBI::db' connection handle object, so it
does everything you'd expect to do with DBI, but also adds a few
convenience methods. See the documentation for the
Dancer::Plugin::Database::Handle manpage for full details of those.
Takes care of ensuring that the database handle is still connected and
valid. If the handle was last asked for more than
'connection_check_threshold' seconds ago, it will check that the connection
is still alive, using either the '$dbh->ping' method if the DBD driver
supports it, or performing a simple no-op query against the database if
not. If the connection has gone away, a new connection will be obtained and
returned. This avoids any problems for a long-running script where the
connection to the database might go away.
Media information
Distribution release | Mageia 6 |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2016-06-18 23:23:47 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |