PHP 클래스 ManaPHP\Db\Adapter\Sqlite

상속: extends ManaPHP\Db
파일 보기 프로젝트 열기: manaphp/manaphp

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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

escapeIdentifier() 공개 메소드

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
리턴 string

getMetadata() 공개 메소드

public getMetadata ( string $source ) : array
$source string
리턴 array

truncateTable() 공개 메소드

public truncateTable ( string $source ) : static
$source string
리턴 static