From d716e6dbcc88970efc393681211509387f2aca0b Mon Sep 17 00:00:00 2001 From: Gannon McGibbon Date: Thu, 2 Nov 2023 01:11:55 -0500 Subject: [PATCH] Document async option in guides for query.active_record events Related to #load_async queries added in #40037 #41372. --- guides/source/active_support_instrumentation.md | 1 + 1 file changed, 1 insertion(+) diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md index 72585bab1fa..7c1a2648342 100644 --- a/guides/source/active_support_instrumentation.md +++ b/guides/source/active_support_instrumentation.md @@ -346,6 +346,7 @@ The `:cache_hits` key is only included if the collection is rendered with `cache | `:binds` | Bind parameters | | `:type_casted_binds` | Typecasted bind parameters | | `:statement_name` | SQL Statement name | +| `:async` | `true` if query is loaded asynchronously | | `:cached` | `true` is added when cached queries used | Adapters may add their own data as well.