Cannot use object of type yii\db\Connection as array Post author:xfxia Post published:2023年8月29日 Post category:其他 $pointLog = $conn->createCommand('select * from table1 where is_deleted = 0 AND id1 = :id1 AND id2 = :Id2', [":id1" => $Id1, ":id2" => $Id2])->queryAll(); 如果少了这个 queryAll 就会报这种错误。因为不是一个结果集,后面的代码又会引用当做行来用,php 报错很奇葩。 你可能也喜欢 @RequestParam使用defaultValue属性设置默认值 Vagrant基本命令使用详解 Thread.sleep()点sleep无结果解决办法 vscode 配置 gitbash 终端,并设置为默认 读懂spring之循环依赖问题 大学物理实验电学基本参数的测量实验报告_基本电学参数测量物理实验,天津科技大学… zookeeper-3.5.6: 找不到或无法加载主类 org.apache.zookeeper.server.quorum.QuorumPeerMain 关于mybatis的xml和dao层关联配置的低级错误 jsp核心标签进行基本数据操作 SpringBoot知识点整理 c++ 1040: 数列求和1 在CentOs7上 使用 Yum 安装 Docker swiper实现点击切换slide/图片效果 nginx 查看 并发连接数status Spring 自定义环境配置 CPLEX学习笔记 将二叉树调整成大根堆,之后排序 plsql 连接数据库 Oracle 19c VMware修改主机名 cmake系列-动态库的生成与链接