PHP Class ManaPHP\Db\Adapter\Sqlite

Inheritance: extends ManaPHP\Db
Afficher le fichier Open project: manaphp/manaphp

Méthodes publiques

Méthode Description
__construct ( string | array $options ) Sqlite constructor.
escapeIdentifier ( string $identifier ) : string Escapes a column/table/schema name echo $connection->escapeIdentifier('my_table'); // my_table echo $connection->escapeIdentifier('companies.name'); // companies.name
getMetadata ( string $source ) : array
truncateTable ( string $source ) : static

Method Details

__construct() public méthode

Sqlite constructor.
public __construct ( string | array $options )
$options string | array

escapeIdentifier() public méthode

Escapes a column/table/schema name echo $connection->escapeIdentifier('my_table'); // my_table echo $connection->escapeIdentifier('companies.name'); // companies.name
public escapeIdentifier ( string $identifier ) : string
$identifier string
Résultat string

getMetadata() public méthode

public getMetadata ( string $source ) : array
$source string
Résultat array

truncateTable() public méthode

public truncateTable ( string $source ) : static
$source string
Résultat static