PHP 인터페이스 Doctrine\OrientDB\Query\Formatter\QueryInterface

파일 보기 프로젝트 열기: doctrine/orientdb-odm

공개 메소드들

메소드 설명
tokenize ( string $key ) : string Tokenizes the given string: since the SQL statements are managed with some tokens you need to decide how to distinguish a common word from a token.
untokenize ( string $token ) : string Untokenizes a token: converts a token to a plain string.

메소드 상세

tokenize() 공개 정적인 메소드

In SELECT ALL FROM ~table the ~-prefixed string is a token, for example, and the tokenizer should generate an ~-prefixed token from the given $key. Doctrine\OrientDB uses double-colon by default.
public static tokenize ( string $key ) : string
$key string
리턴 string

untokenize() 공개 정적인 메소드

Untokenizes a token: converts a token to a plain string.
public static untokenize ( string $token ) : string
$token string
리턴 string