Methods

Constructor

__construct(\Zend\Db\Adapter\Adapter $adapter) 

Parameters

Get column

getColumn(string $columnName, string $table, string $schema) : \Zend\Db\Metadata\Object\ColumnObject

Parameters

$columnName

string

$table

string

$schema

string

Returns

Get column names

getColumnNames(string $table, string $schema) : array

Parameters

$table

string

$schema

string

Returns

array

Get columns

getColumns(string $table, string $schema) : array

Parameters

$table

string

$schema

string

Returns

array

Get constraints

getConstraint(string $constraintName, string $table, string $schema) : \Zend\Db\Metadata\Object\ConstraintObject

Parameters

$constraintName

string

$table

string

$schema

string

Returns

Get constraint keys

getConstraintKeys(string $constraint, string $table, string $schema) : array

Parameters

$constraint

string

$table

string

$schema

string

Returns

array

Get constraints

getConstraints(string $table, string $schema) : array

Parameters

$table

string

$schema

string

Returns

array

Get schemas

getSchemas() 

Get table

getTable(string $tableName, string $schema) : \Zend\Db\Metadata\Object\TableObject

Parameters

$tableName

string

$schema

string

Returns

Get table names

getTableNames(string $schema, bool $includeViews) : array

Parameters

$schema

string

$includeViews

bool

Returns

array

Get base tables and views

getTables(string $schema, bool $includeViews) : \Zend\Db\Metadata\Object\TableObject[]

Parameters

$schema

string

$includeViews

bool

Returns

Get trigger

getTrigger(string $triggerName, string $schema) : \Zend\Db\Metadata\Object\TriggerObject

Parameters

$triggerName

string

$schema

string

Returns

Get trigger names

getTriggerNames(string $schema) : array

Parameters

$schema

string

Returns

array

Get triggers

getTriggers(string $schema) : array

Parameters

$schema

string

Returns

array

Get view

getView(string $viewName, string $schema) : \Zend\Db\Metadata\Object\TableObject

Parameters

$viewName

string

$schema

string

Returns

Get views names

getViewNames(string $schema) : \Zend\Db\Metadata\Object\TableObject

Parameters

$schema

string

Returns

Get base tables and views

getViews(string $schema) : \Zend\Db\Metadata\Object\TableObject[]

Parameters

$schema

string

Returns

Create source from adapter

createSourceFromAdapter(\Zend\Db\Adapter\Adapter $adapter) : \Zend\Db\Metadata\Source\AbstractSource

 Properties

 

Adapter

$adapter : \Zend\Db\Adapter\Adapter