PHP Class Phpmig\Adapter\PDO\SqlPgsql

Author: Theodson https://github.com/theodson
Inheritance: extends Phpmig\Adapter\PDO\Sql
Afficher le fichier Open project: davedevelopment/phpmig

Méthodes publiques

Méthode Description
__construct ( PDO $connection, string $tableName, $schemaName = 'public' ) Constructor
createSchema ( ) : DBAL Create Schema
down ( Phpmig\Migration\Migration $migration ) : self Down
fetchAll ( ) : array Fetch all
hasSchema ( ) : boolean Is the schema ready?
up ( Phpmig\Migration\Migration $migration ) : self Up

Private Methods

Méthode Description
quotedTableName ( )

Method Details

__construct() public méthode

Constructor
public __construct ( PDO $connection, string $tableName, $schemaName = 'public' )
$connection PDO
$tableName string

createSchema() public méthode

Create Schema
public createSchema ( ) : DBAL
Résultat DBAL

down() public méthode

Down
public down ( Phpmig\Migration\Migration $migration ) : self
$migration Phpmig\Migration\Migration
Résultat self

fetchAll() public méthode

Fetch all
public fetchAll ( ) : array
Résultat array

hasSchema() public méthode

Is the schema ready?
public hasSchema ( ) : boolean
Résultat boolean

up() public méthode

Up
public up ( Phpmig\Migration\Migration $migration ) : self
$migration Phpmig\Migration\Migration
Résultat self