package Default
inherited_from \Zend\Db\Metadata\Source\AbstractSource

 Methods

Constructor

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

Parameters

$adapter

\Zend\Db\Adapter\Adapter

Get column

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

Parameters

$columnName

string

$table

string

$schema

string

Returns

\Zend\Db\Metadata\Object\ColumnObject

Gt column names

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

Parameters

$table

string

$schema

string

Returns

array

Get columns

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

Parameters

$table

string

$schema

string

Returns

array

Get constraint

getConstraint(string $constraintName, string $table, string $schema = null) : \Zend\Db\Metadata\Object\ConstraintObject
Inherited
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
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
inherited_from \Zend\Db\Metadata\MetadataInterface::getConstraints()

Parameters

$table

string

$schema

string

Returns

array

Get schemas

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

Get table

getTable(string $tableName, string $schema = null) : \Zend\Db\Metadata\Object\TableObject
Inherited
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<mixed,string>
Inherited
inherited_from \Zend\Db\Metadata\MetadataInterface::getTableNames()

Parameters

$schema

string

$includeViews

boolean

Returns

array<mixed,string>

Get tables

getTables(string $schema = null, boolean $includeViews = false) : array<mixed,\Zend\Db\Metadata\Object\TableObject>
Inherited
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
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
inherited_from \Zend\Db\Metadata\MetadataInterface::getTriggerNames()

Parameters

$schema

string

Returns

array

Get triggers

getTriggers(string $schema = null) : array
Inherited
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
inherited_from \Zend\Db\Metadata\MetadataInterface::getView()

Parameters

$viewName

string

$schema

string

Returns

\Zend\Db\Metadata\Object\TableObject

Get view names

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

Parameters

$schema

string

Returns

array

Get views

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

Parameters

$schema

string

Returns

array

buildRegularExpression()

buildRegularExpression(array $re) 

Parameters

$re

fetchPragma()

fetchPragma($name, $value = null, $schema = null

Parameters

$name

$value

$schema

getIdentifierChainRegularExpression()

getIdentifierChainRegularExpression() 

getIdentifierListRegularExpression()

getIdentifierListRegularExpression() 

getIdentifierRegularExpression()

getIdentifierRegularExpression() 

Load column data

loadColumnData(string $table, string $schema) 
inherited_from \Zend\Db\Metadata\Source\AbstractSource::loadColumnData()

Parameters

$table

$schema

Load column data

loadColumnData(string $table, string $schema) 
Inherited

Parameters

$table

string

$schema

string

Load constraint data

loadConstraintData(string $table, string $schema) 
inherited_from \Zend\Db\Metadata\Source\AbstractSource::loadConstraintData()

Parameters

$table

$schema

Load constraint data

loadConstraintData(string $table, string $schema) 
Inherited

Parameters

$table

string

$schema

string

Load constraint data keys

loadConstraintDataKeys(string $schema) 
Inherited

Parameters

$schema

string

Load constraint references

loadConstraintReferences(string $table, string $schema) 
Inherited

Parameters

$table

string

$schema

string

Load schema data

loadSchemaData() 
inherited_from \Zend\Db\Metadata\Source\AbstractSource::loadSchemaData()

Load schema data

loadSchemaData() 
Inherited

Load table name data

loadTableNameData(string $schema) 
inherited_from \Zend\Db\Metadata\Source\AbstractSource::loadTableNameData()

Parameters

$schema

Load table name data

loadTableNameData(string $schema) 
Inherited

Parameters

$schema

string

Load trigger data

loadTriggerData(string $schema) 
inherited_from \Zend\Db\Metadata\Source\AbstractSource::loadTriggerData()

Parameters

$schema

Load trigger data

loadTriggerData(string $schema) 
Inherited

Parameters

$schema

string

parseTrigger()

parseTrigger($sql) 

Parameters

$sql

parseView()

parseView($sql) 

Parameters

$sql

Prepare data hierarchy

prepareDataHierarchy(string $type) 
Inherited

Parameters

$type

string

 Properties

 

$adapter

$adapter : \Zend\Db\Adapter\Adapter

Default

null
 

$data

$data : array

Default

array()
 

$defaultSchema

$defaultSchema : string

Default

null

 Constants

 

DEFAULT_SCHEMA

DEFAULT_SCHEMA = '__DEFAULT_SCHEMA__'