🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Abstract class **Phalcon\Mvc\Model\Query\Lang**[](# "永久链接至标题") PHQL is implemented as a parser (written in C) that translates syntax in that of the target RDBMS. It allows Phalcon to offer a unified SQL language to the developer, while internally doing all the work of translating PHQL instructions to the most optimal SQL instructions depending on the RDBMS type associated with a model. To achieve the highest performance possible, we wrote a parser that uses the same technology as SQLite. This technology provides a small in-memory parser with a very low memory footprint that is also thread-safe. ~~~ <?php $intermediate = Phalcon\Mvc\Model\Query\Lang::parsePHQL("SELECT r.* FROM Robots r LIMIT 10"); ~~~ ### Methods[](# "永久链接至标题") public static *string***parsePHQL** (*string* $phql) Parses a PHQL statement returning an intermediate representation (IR) | - [索引](# "总目录") - [下一页](# "Class Phalcon\Mvc\Model\Query\Status") | - [上一页](# "Class Phalcon\Mvc\Model\Query\Builder") | - [API Indice](#) »