gpldoc

Sympa documentation licensed under GPL

NAME

Sympa::DatabaseManager - Managing schema of Sympa core database

SYNOPSIS

use Sympa::DatabaseManager;

$sdm = Sympa::DatabaseManager->instance
    or die 'Cannot connect to database';
$sth = $sdm->do_prepared_query('SELECT FROM ...', ...)
    or die 'Cannot execute query';
Sympa::DatabaseManager->disconnect;

Sympa::DatabaseManager::probe_db() or die 'Database is not up-to-date';

DESCRIPTION

Sympa::DatabaseManager provides functions to manage schema of Sympa core database.

Methods and functions

SEE ALSO

Sympa::Database, Sympa::DatabaseDescription, Sympa::DatabaseDriver.

HISTORY

Sympa Database Manager (SDM) appeared on Sympa 6.2.


The content of this page is automatically generated from the source distribution of Sympa. For details about this document see original source file.

Theme originally designed by orderedlist