Ubiquity 2.5.2
php rapid development framework
|
Ubiquity\db\providers\pdo\drivers$MysqlDriverMetas This class is part of Ubiquity. More...
Public Member Functions | |
__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. | |
setIsolationLevel ($isolationLevel) | |
Sets the isolation level for transactions. | |
Public Member Functions inherited from AbstractDriverMetaDatas | |
toStringOperator () | |
getPHPType (string $dbType) | |
migrateOperation (string $operation) | |
Returns the SQL string for a migration operation. | |
Additional Inherited Members | |
Protected Attributes inherited from AbstractDriverMetaDatas | |
$dbInstance | |
$operations | |
Ubiquity\db\providers\pdo\drivers$MysqlDriverMetas This class is part of Ubiquity.
Definition at line 15 of file MysqlDriverMetas.php.
__construct | ( | $dbInstance | ) |
Reimplemented from AbstractDriverMetaDatas.
Definition at line 17 of file MysqlDriverMetas.php.
getFieldsInfos | ( | string | $tableName | ) |
Returns metadata related to the fields of the specified table.
string | $tableName |
Reimplemented from AbstractDriverMetaDatas.
Definition at line 49 of file MysqlDriverMetas.php.
getForeignKeys | ( | string | $tableName, |
string | $pkName, | ||
?string | $dbName = null |
||
) |
Returns the list of foreign keys in a table.
string | $tableName | |
string | $pkName | |
string | $dbName |
Reimplemented from AbstractDriverMetaDatas.
Definition at line 38 of file MysqlDriverMetas.php.
getPrimaryKeys | ( | string | $tableName | ) |
Returns an array of the primary keys field names.
string | $tableName |
Reimplemented from AbstractDriverMetaDatas.
Definition at line 28 of file MysqlDriverMetas.php.
getRowNum | ( | string | $tableName, |
string | $pkName, | ||
string | $condition | ||
) |
Returns the line number of a data record.
string | $tableName | |
string | $pkName | |
string | $condition |
Reimplemented from AbstractDriverMetaDatas.
Definition at line 59 of file MysqlDriverMetas.php.
getTablesName | ( | ) |
Returns all table names in the database.
Reimplemented from AbstractDriverMetaDatas.
Definition at line 23 of file MysqlDriverMetas.php.
groupConcat | ( | string | $fields, |
string | $separator | ||
) |
Returns the SQL callback for fields concatenation.
string | $fields |
Reimplemented from AbstractDriverMetaDatas.
Definition at line 67 of file MysqlDriverMetas.php.
setIsolationLevel | ( | $isolationLevel | ) |
Sets the isolation level for transactions.
$isolationLevel |
Reimplemented from AbstractDriverMetaDatas.
Definition at line 71 of file MysqlDriverMetas.php.