PHP Интерфейс Doctrine\OrientDB\Query\Formatter\QueryInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
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