|
| __construct (Adapter $adapter) |
| Constructor.
|
|
| getSchemas () |
| Get schemas.
|
|
| getTableNames ($schema=null, $includeViews=false) |
| {Get table names.- Parameters
-
null | string | $schema | |
bool | $includeViews | |
- Returns
- string[]
}
|
|
| getTables ($schema=null, $includeViews=false) |
| {Get tables.- Parameters
-
null | string | $schema | |
bool | $includeViews | |
- Returns
- Object[]
}
|
|
| getTable ($tableName, $schema=null) |
| {Get table.- Parameters
-
string | $tableName | |
null | string | $schema | |
- Returns
- Object
}
|
|
| getViewNames ($schema=null) |
| {Get view names.- Parameters
-
- Returns
- string[]
}
|
|
| getViews ($schema=null) |
| {Get views.- Parameters
-
- Returns
- Object[]
}
|
|
| getView ($viewName, $schema=null) |
| {Get view.- Parameters
-
string | $viewName | |
null | string | $schema | |
- Returns
- Object
}
|
|
| getColumnNames ($table, $schema=null) |
| {Get column names.- Parameters
-
string | $table | |
null | string | $schema | |
- Returns
- string[]
}
|
|
| getColumns ($table, $schema=null) |
| {Get columns.- Parameters
-
string | $table | |
null | string | $schema | |
- Returns
- Object[]
}
|
|
| getColumn ($columnName, $table, $schema=null) |
| {Get column.- Parameters
-
string | $columnName | |
string | $table | |
null | string | $schema | |
- Returns
- Object
}
|
|
| getConstraints ($table, $schema=null) |
| {Get constraints.- Parameters
-
string | $table | |
null | string | $schema | |
- Returns
- Object[]
}
|
|
| getConstraint ($constraintName, $table, $schema=null) |
| {Get constraint.- Parameters
-
string | $constraintName | |
string | $table | |
null | string | $schema | |
- Returns
- Object
}
|
|
| getConstraintKeys ($constraint, $table, $schema=null) |
| {Get constraint keys.- Parameters
-
string | $constraint | |
string | $table | |
null | string | $schema | |
- Returns
- Object[]
}
|
|
| getTriggerNames ($schema=null) |
| {Get trigger names.- Parameters
-
- Returns
- string[]
}
|
|
| getTriggers ($schema=null) |
| {Get triggers.- Parameters
-
- Returns
- Object[]
}
|
|
| getTrigger ($triggerName, $schema=null) |
| {Get trigger.- Parameters
-
string | $triggerName | |
null | string | $schema | |
- Returns
- Object
}
|
|
const | DEFAULT_SCHEMA = '__DEFAULT_SCHEMA__' |
|
| $adapter = null |
|
| $defaultSchema = null |
|
| $data = [] |
|