perl-Dancer2-Plugin-Database - easy database connections for Dancer2 applications

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Dancer2-Plugin-Database-2.17-alt1.noarch.rpm
Package name perl-Dancer2-Plugin-Database
Package version 2.17
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 29.48 KB
Installed size 29.48 KB
Provides an easy way to obtain a connected DBI database handle by simply calling
the database keyword within your the Dancer2 manpage application
Returns a the Dancer::Plugin::Database::Core::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::Core::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.
Care is taken that handles are not shared across processes/threads, so this
should be thread-safe with no issues with transactions etc.  (Thanks to Matt S
Trout for pointing out the previous lack of thread safety.  Inspiration was
drawn from DBIx::Connector.)


Package Version Architecture Repository
perl-Dancer2-Plugin-Database - - -


Name Value
/usr/share/perl5 -
perl(Dancer/Plugin/Database/ >= 0.160
perl(Dancer/Plugin/Database/Core/ -
perl(Dancer2/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(Dancer2/Plugin/ = 2.170
perl-Dancer2-Plugin-Database = 2.17-alt1


Type URL
Binary Package perl-Dancer2-Plugin-Database-2.17-alt1.noarch.rpm
Source Package perl-Dancer2-Plugin-Database-2.17-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Dancer2-Plugin-Database rpm package:
    # sudo apt-get install perl-Dancer2-Plugin-Database



See Also

Package Description
perl-Dancer2-Plugin-DebugDump-0.41-alt1.noarch.rpm Modified debug behavior to create multi-line output that's easier for mere mortals to parse
perl-Dancer2-Plugin-Deferred-0.007018-alt1.noarch.rpm Defer messages or data across redirections
perl-Dancer2-Plugin-EditFile-0.005-alt1.noarch.rpm Edit a text file from Dancer2
perl-Dancer2-Plugin-ElasticSearch-0.004-alt1.noarch.rpm Dancer2 plugin for obtaining Search::Elasticsearch handles
perl-Dancer2-Plugin-Email-0.0202-alt1.noarch.rpm Simple email sending for Dancer2 applications
perl-Dancer2-Plugin-Emailesque-0.03-alt1.noarch.rpm Simple Emailesque support for Dancer2
perl-Dancer2-Plugin-EncryptID-0.03-alt1.noarch.rpm Obfuscate IDs/string in URLs
perl-Dancer2-Plugin-Etcd-0.011-alt1.noarch.rpm Access to etcd v3 API via Dancer2
perl-Dancer2-Plugin-Etcd-scripts-0.011-alt1.noarch.rpm Dancer2-Plugin-Etcd scripts
perl-Dancer2-Plugin-Feed-1.160550-alt1.noarch.rpm Easy to generate feed rss or atom for Dancer2 applications
perl-Dancer2-Plugin-Flash-0.03-alt1.noarch.rpm flash message for Dancer2
perl-Dancer2-Plugin-FlashNote-0.02-alt1.noarch.rpm support notifications in your Dancer2 web application
perl-Dancer2-Plugin-FontSubset-0.0.1-alt1.noarch.rpm Generate font subsets on-the-fly
perl-Dancer2-Plugin-Github-Webhook-0.01-alt1.noarch.rpm Check Github Webhook secret
perl-Dancer2-Plugin-GoogleAnalytics-0.002-alt1.noarch.rpm A Dancer2 plugin to easily add Google Analytics code