2017 © Pedro Peláez
 

library databasepool

Basic class for managing database configurations and active PDO links.

image

primal/databasepool

Basic class for managing database configurations and active PDO links.

  • Sunday, February 3, 2013
  • by ChiperSoft
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Primal Database Pool

Created and Copyright 2013 by Jarvis Badgley, chiper at chipersoft dot com., (*1)

Primal Database Pool is a basic class for managing database configurations and active PDO links from a central location. It offers an optional singleton interface for maintaining a global instance of the pool., (*2)

Primal is a collection of independent micro-libraries., (*3)

Usage

Adding a configuration

The class currently offers support for three database types:, (*4)

  • addMySQL($name, $host, $username, $password[, $database[, $options[, $port]]])
  • addPostgrSQL($name, $host, $username, $password[, $database[, $options[, $port]]])
  • addSQLite($name, $database, $username[, $options])

$name is the name which will be used to retrieve the PDO object., (*5)

All of this functions are chainable., (*6)

The Versions

03/02 2013

dev-master

9999999-dev http://github.com/PrimalPHP/DatabasePool

Basic class for managing database configurations and active PDO links.

  Sources   Download

MIT

The Requires

  • php >=5.3.10

 

database postgresql mysql sqlite link pool