Skip to content

Commit

Permalink
feat: document and expand query builder
Browse files Browse the repository at this point in the history
elaborates on the API introduced in #1780
  • Loading branch information
abonander committed Apr 11, 2022
1 parent a470682 commit 918e507
Show file tree
Hide file tree
Showing 3 changed files with 315 additions and 31 deletions.
5 changes: 5 additions & 0 deletions sqlx-core/src/mysql/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ impl MySqlArguments {
self.null_bitmap[index / 8] |= (1 << (index % 8)) as u8;
}
}

#[doc(hidden)]
pub fn len(&self) -> usize {
self.types.len()
}
}

impl<'q> Arguments<'q> for MySqlArguments {
Expand Down
Loading

0 comments on commit 918e507

Please sign in to comment.