提交 da0fdd6b 编写于 作者: J Jon Moss 提交者: GitHub

Merge pull request #26683 from y-yagi/add_cached_key_to_sql_active_record_event

add `cached` key to `sql.active_record` event [ci skip]
......@@ -231,12 +231,13 @@ Active Record
### sql.active_record
| Key | Value |
| ---------------- | --------------------- |
| `:sql` | SQL statement |
| `:name` | Name of the operation |
| `:connection_id` | `self.object_id` |
| `:binds` | Bind parameters |
| Key | Value |
| ---------------- | ---------------------------------------- |
| `:sql` | SQL statement |
| `:name` | Name of the operation |
| `:connection_id` | `self.object_id` |
| `:binds` | Bind parameters |
| `:cached` | `true` is added when cached queries used |
INFO. The adapters will add their own data as well.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册