PYTHON The PDO class

(4)
Python replacement for PHP's The PDO class [ edit ]



Do you know a Python replacement for PHP's The PDO class ? Write it!

PHP The PDO class

PHP original manual for The PDO class [ show | php.net ]

The PDO class

Introduction

Represents a connection between PHP and a database server.

Class synopsis

PDO
PDO {
__construct ( string $dsn [, string $username [, string $password [, array $driver_options ]]] )
bool beginTransaction ( void )
bool commit ( void )
mixed errorCode ( void )
array errorInfo ( void )
int exec ( string $statement )
mixed getAttribute ( int $attribute )
array getAvailableDrivers ( void )
string lastInsertId ([ string $name= NULL ] )
PDOStatement prepare ( string $statement [, array $driver_options= array() ] )
PDOStatement query ( string $statement )
string quote ( string $string [, int $parameter_type= PDO::PARAM_STR ] )
bool rollBack ( void )
bool setAttribute ( int $attribute , mixed $value )
}

Table of Contents