Skip to content

Commit 3979cd1

Browse files
committed
feat: document and expand query builder
elaborates on the API introduced in #1780
1 parent a470682 commit 3979cd1

File tree

3 files changed

+323
-31
lines changed

3 files changed

+323
-31
lines changed

sqlx-core/src/mysql/arguments.rs

+5
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ impl MySqlArguments {
2626
self.null_bitmap[index / 8] |= (1 << (index % 8)) as u8;
2727
}
2828
}
29+
30+
#[doc(hidden)]
31+
pub fn len(&self) -> usize {
32+
self.types.len()
33+
}
2934
}
3035

3136
impl<'q> Arguments<'q> for MySqlArguments {

0 commit comments

Comments
 (0)