package Default

 Methods

Constructor

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

Parameters

$adapter

\Zend\Db\Adapter\Adapter

Get column

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

Parameters

$columnName

string

$table

string

$schema

string

Returns

\Zend\Db\Metadata\Object\ColumnObject

Get column names

getColumnNames(string $table, string $schema = null) : array
inherited_from \Zend\Db\Metadata\MetadataInterface::getColumnNames()

Parameters

$table

string

$schema

string

Returns

array

Get columns

getColumns(string $table, string $schema = null) : array
inherited_from \Zend\Db\Metadata\MetadataInterface::getColumns()

Parameters

$table

string

$schema

string

Returns

array

Get constraints

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

Parameters

$constraintName

string

$table

string

$schema

string

Returns

\Zend\Db\Metadata\Object\ConstraintObject

Get constraint keys

getConstraintKeys(string $constraint, string $table, string $schema = null) : array
inherited_from \Zend\Db\Metadata\MetadataInterface::getConstraintKeys()

Parameters

$constraint

string

$table

string

$schema

string

Returns

array

Get constraints

getConstraints(string $table, string $schema = null) : array
inherited_from \Zend\Db\Metadata\MetadataInterface::getConstraints()

Parameters

$table

string

$schema

string

Returns

array

Get schemas

getSchemas() 
inherited_from \Zend\Db\Metadata\MetadataInterface::getSchemas()

Get table

getTable(string $tableName, string $schema = null) : \Zend\Db\Metadata\Object\TableObject
inherited_from \Zend\Db\Metadata\MetadataInterface::getTable()

Parameters

$tableName

string

$schema

string

Returns

\Zend\Db\Metadata\Object\TableObject

Get table names

getTableNames(string $schema = null, boolean $includeViews = false) : array
inherited_from \Zend\Db\Metadata\MetadataInterface::getTableNames()

Parameters

$schema

string

$includeViews

boolean

Returns

array

Get base tables and views

getTables(string $schema = null, boolean $includeViews = false) : array<mixed,\Zend\Db\Metadata\Object\TableObject>
inherited_from \Zend\Db\Metadata\MetadataInterface::getTables()

Parameters

$schema

string

$includeViews

boolean

Returns

array<mixed,\Zend\Db\Metadata\Object\TableObject>

Get trigger

getTrigger(string $triggerName, string $schema = null) : \Zend\Db\Metadata\Object\TriggerObject
inherited_from \Zend\Db\Metadata\MetadataInterface::getTrigger()

Parameters

$triggerName

string

$schema

string

Returns

\Zend\Db\Metadata\Object\TriggerObject

Get trigger names

getTriggerNames(string $schema = null) : array
inherited_from \Zend\Db\Metadata\MetadataInterface::getTriggerNames()

Parameters

$schema

string

Returns

array

Get triggers

getTriggers(string $schema = null) : array
inherited_from \Zend\Db\Metadata\MetadataInterface::getTriggers()

Parameters

$schema

string

Returns

array

Get view

getView(string $viewName, string $schema = null) : \Zend\Db\Metadata\Object\TableObject
inherited_from \Zend\Db\Metadata\MetadataInterface::getView()

Parameters

$viewName

string

$schema

string

Returns

\Zend\Db\Metadata\Object\TableObject

Get views names

getViewNames(string $schema = null) : \Zend\Db\Metadata\Object\TableObject
inherited_from \Zend\Db\Metadata\MetadataInterface::getViewNames()

Parameters

$schema

string

Returns

\Zend\Db\Metadata\Object\TableObject

Get base tables and views

getViews(string $schema = null) : array<mixed,\Zend\Db\Metadata\Object\TableObject>
inherited_from \Zend\Db\Metadata\MetadataInterface::getViews()

Parameters

$schema

string

Returns

array<mixed,\Zend\Db\Metadata\Object\TableObject>

Create source from adapter

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

Parameters

$adapter

\Zend\Db\Adapter\Adapter

Returns

\Zend\Db\Metadata\Source\AbstractSource

 Properties

 

Adapter

$adapter : \Zend\Db\Adapter\Adapter

Default

null
 

$source

$source : \Zend\Db\Metadata\MetadataInterface

Default

null