Ubiquity\db\providers$DriverMetaDatas This class is part of Ubiquity.
More...
|
| __construct ($dbInstance) |
|
| getTablesName () |
| Returns all table names in the database.
|
|
| getPrimaryKeys (string $tableName) |
| Returns an array of the primary keys field names.
|
|
| getForeignKeys (string $tableName, string $pkName, ?string $dbName=null) |
| Returns the list of foreign keys in a table.
|
|
| getFieldsInfos (string $tableName) |
| Returns metadata related to the fields of the specified table.
|
|
| getRowNum (string $tableName, string $pkName, string $condition) |
| Returns the line number of a data record.
|
|
| groupConcat (string $fields, string $separator) |
| Returns the SQL callback for fields concatenation.
|
|
| toStringOperator () |
|
| getPHPType (string $dbType) |
|
| migrateOperation (string $operation) |
| Returns the SQL string for a migration operation.
|
|
| setIsolationLevel ($isolationLevel) |
| Sets the isolation level for transactions.
|
|
Ubiquity\db\providers$DriverMetaDatas This class is part of Ubiquity.
- Author
- jc
- Version
- 1.0.3
Definition at line 13 of file AbstractDriverMetaDatas.php.
◆ __construct()
__construct |
( |
|
$dbInstance | ) |
|
◆ getFieldsInfos()
getFieldsInfos |
( |
string |
$tableName | ) |
|
|
abstract |
Returns metadata related to the fields of the specified table.
- Parameters
-
- Returns
- array
Reimplemented in MysqlDriverMetas.
◆ getForeignKeys()
getForeignKeys |
( |
string |
$tableName, |
|
|
string |
$pkName, |
|
|
?string |
$dbName = null |
|
) |
| |
|
abstract |
Returns the list of foreign keys in a table.
- Parameters
-
string | $tableName | |
string | $pkName | |
string | $dbName | |
- Returns
- array
Reimplemented in MysqlDriverMetas.
◆ getPHPType()
getPHPType |
( |
string |
$dbType | ) |
|
◆ getPrimaryKeys()
getPrimaryKeys |
( |
string |
$tableName | ) |
|
|
abstract |
Returns an array of the primary keys field names.
- Parameters
-
- Returns
- array
Reimplemented in MysqlDriverMetas.
◆ getRowNum()
getRowNum |
( |
string |
$tableName, |
|
|
string |
$pkName, |
|
|
string |
$condition |
|
) |
| |
|
abstract |
◆ getTablesName()
◆ groupConcat()
groupConcat |
( |
string |
$fields, |
|
|
string |
$separator |
|
) |
| |
|
abstract |
◆ migrateOperation()
migrateOperation |
( |
string |
$operation | ) |
|
◆ setIsolationLevel()
setIsolationLevel |
( |
|
$isolationLevel | ) |
|
◆ toStringOperator()
◆ $dbInstance
◆ $operations
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity/src/Ubiquity/db/providers/pdo/drivers/AbstractDriverMetaDatas.php