PHP 클래스 Phpmig\Adapter\PDO\SqlPgsql

저자: Theodson https://github.com/theodson
상속: extends Phpmig\Adapter\PDO\Sql
파일 보기 프로젝트 열기: davedevelopment/phpmig

공개 메소드들

메소드 설명
__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

비공개 메소드들

메소드 설명
quotedTableName ( )

메소드 상세

__construct() 공개 메소드

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

createSchema() 공개 메소드

Create Schema
public createSchema ( ) : DBAL
리턴 DBAL

down() 공개 메소드

Down
public down ( Phpmig\Migration\Migration $migration ) : self
$migration Phpmig\Migration\Migration
리턴 self

fetchAll() 공개 메소드

Fetch all
public fetchAll ( ) : array
리턴 array

hasSchema() 공개 메소드

Is the schema ready?
public hasSchema ( ) : boolean
리턴 boolean

up() 공개 메소드

Up
public up ( Phpmig\Migration\Migration $migration ) : self
$migration Phpmig\Migration\Migration
리턴 self