Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
SqliteDriverMetas Class Reference

Ubiquity\db\providers\pdo\drivers$SqliteDriverMetas This class is part of Ubiquity. More...

+ Inheritance diagram for SqliteDriverMetas:

Public Member Functions

 getForeignKeys ($tableName, $pkName, $dbName=null)
 
 getTablesName ()
 Returns all table names in the database.
 
 getPrimaryKeys ($tableName)
 
 getFieldsInfos ($tableName)
 
 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.
 
- Public Member Functions inherited from AbstractDriverMetaDatas
 __construct ($dbInstance)
 
 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.
 
 toStringOperator ()
 
 getPHPType (string $dbType)
 
 migrateOperation (string $operation)
 Returns the SQL string for a migration operation.
 
 setIsolationLevel ($isolationLevel)
 Sets the isolation level for transactions.
 

Additional Inherited Members

- Protected Attributes inherited from AbstractDriverMetaDatas
 $dbInstance
 
 $operations
 

Detailed Description

Ubiquity\db\providers\pdo\drivers$SqliteDriverMetas This class is part of Ubiquity.

Author
Ulaş SAYGIN
Version
1.0.0

Definition at line 13 of file SqliteDriverMetas.php.

Member Function Documentation

◆ getFieldsInfos()

getFieldsInfos (   $tableName)

Definition at line 39 of file SqliteDriverMetas.php.

◆ getForeignKeys()

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

Definition at line 15 of file SqliteDriverMetas.php.

◆ getPrimaryKeys()

getPrimaryKeys (   $tableName)

Definition at line 27 of file SqliteDriverMetas.php.

◆ getRowNum()

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

Returns the line number of a data record.

Parameters
string$tableName
string$pkName
string$condition
Returns
int

Reimplemented from AbstractDriverMetaDatas.

Definition at line 49 of file SqliteDriverMetas.php.

◆ getTablesName()

getTablesName ( )

Returns all table names in the database.

Returns
array

Reimplemented from AbstractDriverMetaDatas.

Definition at line 22 of file SqliteDriverMetas.php.

◆ groupConcat()

groupConcat ( string  $fields,
string  $separator 
)

Returns the SQL callback for fields concatenation.

Parameters
string$fields
Returns
string

Reimplemented from AbstractDriverMetaDatas.

Definition at line 57 of file SqliteDriverMetas.php.


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