企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
### max最大值 ~~~ /** * 求最大值 */ public function max() { $model = new User(); $result = $model->where(['id', '<', 10])->max('age'); echo "id小于10的用户的最大年龄:<br/>"; var_dump($result); } ~~~