libdancer2-plugin-database-perl_2.12-1_all.deb


Advertisement

Description

libdancer2-plugin-database-perl - module for easy database connections for Dancer2 applications

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libdancer2-plugin-database-perl
Package version: 2.12
Package release: 1
Package architecture: all
Package type: deb
Installed size: 68 B
Download size: 15.92 KB
Official Mirror: ftp.br.debian.org
Dancer2::Plugin::Database Provides an easy way to obtain a connected DBI database handle by simply calling the database keyword within your Dancer2 application The module returns a Dancer::Plugin::Database::Core::Handle object, which is a subclass of DBI's `DBI::db' connection handle object, so it does everything you'd expect to do with DBI, but also adds a few convenience methods. It 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.

    Download

    Source package: libdancer2-plugin-database-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libdancer2-plugin-database-perl deb package:
      # sudo apt-get install libdancer2-plugin-database-perl

    Files

    • /usr/share/doc/libdancer2-plugin-database-perl/changelog.Debian.gz
    • /usr/share/doc/libdancer2-plugin-database-perl/changelog.gz
    • /usr/share/doc/libdancer2-plugin-database-perl/copyright
    • /usr/share/man/man3/Dancer2::Plugin::Database.3pm.gz
    • /usr/share/perl5/Dancer2/Plugin/Database.pm

    Changelog

    2014-10-17 - gregor herrmann <gregoa@debian.org> libdancer2-plugin-database-perl (2.12-1) unstable; urgency=medium [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend [ gregor herrmann ] * Add debian/upstream/metadata * Import upstream version 2.12 * Update years of packaging copyright. * Update (build) dependencies. * Mark package as autopkgtest-able. * Declare compliance with Debian Policy 3.9.6.

    2013-09-22 - gregor herrmann <gregoa@debian.org> libdancer2-plugin-database-perl (2.10-1) unstable; urgency=low * Initial release (closes: #724036).

    Advertisement
    Advertisement