譬如在Controller方法内,查询一个表的结构:
$connection = $this->di->get('db');
$metas = $connection->fetchAll("desc $tablename");
phalcon执行原始SQL查询语句
最新推荐文章于 2021-03-23 14:30:18 发布
譬如在Controller方法内,查询一个表的结构:
$connection = $this->di->get('db');
$metas = $connection->fetchAll("desc $tablename");