Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
DatabaseMetadatas Class Reference
+ Inheritance diagram for DatabaseMetadatas:

Public Member Functions

 getTablesName ()
 
 getPrimaryKeys ($tableName)
 
 getFieldsInfos ($tableName)
 
 getForeignKeys ($tableName, $pkName, $dbName=null)
 
 getRowNum (string $tableName, string $pkName, string $condition)
 
 getPHPType (string $dbType)
 
 migrateOperation (string $operation)
 Returns the SQL command for a migration operation.
 

Detailed Description

Definition at line 18 of file DatabaseMetadatas.php.

Member Function Documentation

◆ getFieldsInfos()

getFieldsInfos (   $tableName)

Definition at line 28 of file DatabaseMetadatas.php.

◆ getForeignKeys()

getForeignKeys (   $tableName,
  $pkName,
  $dbName = null 
)

Definition at line 32 of file DatabaseMetadatas.php.

◆ getPHPType()

getPHPType ( string  $dbType)

Definition at line 40 of file DatabaseMetadatas.php.

◆ getPrimaryKeys()

getPrimaryKeys (   $tableName)

Definition at line 24 of file DatabaseMetadatas.php.

◆ getRowNum()

getRowNum ( string  $tableName,
string  $pkName,
string  $condition 
)

Definition at line 36 of file DatabaseMetadatas.php.

◆ getTablesName()

getTablesName ( )

Definition at line 20 of file DatabaseMetadatas.php.

◆ migrateOperation()

migrateOperation ( string  $operation)

Returns the SQL command for a migration operation.

Parameters
string$operationThe migration to opere
Returns
string The generated SQL string

Definition at line 49 of file DatabaseMetadatas.php.


The documentation for this class was generated from the following file: