ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
### 指定字段 > 表达式查询是官方推荐使用的查询方式;当然你也可以使用Phalcon原生的查询方式;互不干扰,互不关联; ~~~ $model = ne DmPhp(); $model->field("id,title")->_select(); ~~~ ~~~ $model->field(['id','title'])->_select(); ~~~ ~~~ $model->field([ 'id', 'title AS dm_php_title', "CONCAT('http://test.com',cover) AS cover", ])->_select(); ~~~ > DmPHP 低耦合的原则;所以不自带任何单立操作的方法,若有需要请自行增加。