Skip to content

Commit 559c167

Browse files
committed
Add missing 28 to AppenderParams array impl
1 parent c1e45c9 commit 559c167

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

crates/duckdb/src/appender_params.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,14 @@ macro_rules! impl_for_array_ref {
172172
// Following libstd/libcore's (old) lead, implement this for arrays up to `[_;
173173
// 32]`. Note `[_; 0]` is intentionally omitted for coherence reasons, see the
174174
// note above the impl of `[&dyn ToSql; 0]` for more information.
175+
//
176+
// For tables with more than 32 columns, users should use:
177+
// - `&[&dyn ToSql]` for dynamic parameter binding (recommended)
178+
// - `params!` macro
179+
// - `appender_params_from_iter`
175180
impl_for_array_ref!(
176181
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
177-
18 19 20 21 22 23 24 25 26 27 29 30 31 32
182+
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
178183
);
179184

180185
/// Adapter type which allows any iterator over [`ToSql`] values to implement

0 commit comments

Comments
 (0)