Метод | Описание | |
---|---|---|
__construct ( array | |
\ManaPHP\Db\Adapter 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 |
public __construct ( array | |
||
$options | array | |
echo $connection->escapeIdentifier('my_table'); // my_table
echo $connection->escapeIdentifier('companies.name'); // companies.name
public escapeIdentifier ( string $identifier ) : string
$identifier
string
Результат
string
public getMetadata ( string $source ) : array
$source
string
Результат
array
public truncateTable ( string $source ) : static
$source
string
Результат
static