Home > Backend Development > PHP Tutorial > phalcon框架中怎么实现脱离模型进行sql查询

phalcon框架中怎么实现脱离模型进行sql查询

WBOY
Release: 2016-06-13 12:40:42
Original
1001 people have browsed it

phalcon框架中如何实现脱离模型进行sql查询?
比如,我有表A和表B,在models/下有A.php这个model类,而没有B的,现在在A中需要对表B进行一次SQL查询,在不创建B的model类的情况下如何拿到B的数据?

PHP 框架
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template