GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SYMPA::DATABASEMANAGER (3)

.ds Aq ’

NAME

Sympa::DatabaseManager - Managing schema of Sympa core database

CONTENTS

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

instance ( ) Constructor. Gets singleton instance of Sympa::Database class managing Sympa core database.
disconnect ( ) Class method. Disconnects from core database.
probe_db ( ) Function. If possible, probes database structure and updates it.

SEE ALSO

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

HISTORY

Sympa Database Manager (SDM) appeared on Sympa 6.2.
Search for    or go to Top of page |  Section 3 |  Main Index


6.2.14 SYMPA::DATABASEMANAGER (3Sympa) 2016-01-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.