【发布时间】:2015-11-04 15:40:31
【问题描述】:
然后我在 MySQL 中运行“显示完整进程列表”,我看到一些查询看起来像
| 413575 | sitecom | localhost | sitecom | Prepare | 0 | After opening tables | select * from content where content.id = ? | 0.000 |
| 413597 | sitecom | localhost | sitecom | Prepare | 0 | init | select * from content where content.id = ? | 0.000 |
网站使用 Laravel Eloquent ORM。它通过带有准备好的语句的 PDO 工作。我看到问号而不是绑定参数可以吗?
【问题讨论】:
标签: laravel orm eloquent prepared-statement