Commit b0c2893
feat: enable prepared statement plan caching via adhoc: false in relation queries
Read adhoc from N1ql.config in build_query_options so all Relation-based
queries (.where, .all, .first, .last, .ids, update_all, delete_all, etc.)
also benefit from server-side plan caching without any caller changes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 44a5dbf commit b0c2893
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
242 | 245 | | |
243 | 246 | | |
244 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
504 | 509 | | |
505 | 510 | | |
0 commit comments