Пакет: libdancer2-plugin-database-perl (2.17-3)
Ссылки для libdancer2-plugin-database-perl
Ресурсы Debian:
- Сообщения об ошибках
- Developer Information
- Debian журнал изменений
- Файл авторских прав
- Отслеживание заплат Debian
Исходный код libdancer2-plugin-database-perl:
- [libdancer2-plugin-database-perl_2.17-3.dsc]
- [libdancer2-plugin-database-perl_2.17.orig.tar.gz]
- [libdancer2-plugin-database-perl_2.17-3.debian.tar.xz]
Сопровождающие:
Внешние ресурсы:
- Сайт [metacpan.org]
Подобные пакеты:
module for easy database connections for Dancer2 applications
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.
Другие пакеты, относящиеся к libdancer2-plugin-database-perl
|
|
|
|
-
- dep: libdancer-plugin-database-core-perl
- shared core library for Dancer and Dancer2 database plugins
-
- dep: libdancer2-perl
- lightweight yet powerful web application framework
-
- dep: perl
- практический язык Ларри Уолла для извлечения данных и составления отчётов
Загрузка libdancer2-plugin-database-perl
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 15,4 Кб | 37,0 Кб | [список файлов] |