Commit 29e2dfc
fix: restore to_n1ql to render interpolated values for copy-paste use
to_n1ql delegated to to_n1ql_with_params.first, which returns a query
with positional placeholders ($1, $2) instead of literal values. This
broke the method's main external use case: producing a query you can
copy-paste into the database. Build the query with interpolated values
(params: nil) so to_n1ql keeps its previous, human-readable output while
to_n1ql_with_params remains the parameterized path used internally.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a493c9f commit 29e2dfc
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
0 commit comments