Commit a91a420
fix: preserve all query options in has_many n1ql query_fn
The query_fn rebuilt a fresh Couchbase::Options::Query copying only
scan_consistency, silently dropping every other option the caller set
(timeout, adhoc, client_context_id, profile, etc.). Mutate the existing
options object via #positional_parameters and pass it through, so all
caller-supplied options are retained.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent fe0c506 commit a91a420
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 100 | + | |
| 101 | + | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
| |||
0 commit comments