We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b3f71b commit 4e80d8eCopy full SHA for 4e80d8e
scylla/src/statement/prepared.rs
@@ -447,10 +447,10 @@ impl PreparedStatement {
447
self.config.execution_profile_handle.as_ref()
448
}
449
450
- pub(crate) fn bind(
451
- self,
452
- values: &impl SerializeRow,
453
- ) -> Result<BoundStatement, SerializationError> {
+ /// Binds values with a prepared statement
+ ///
+ /// This method will serialize the values and thus type erase them on return
+ pub fn bind(self, values: &impl SerializeRow) -> Result<BoundStatement, SerializationError> {
454
BoundStatement::new(self, values)
455
456
0 commit comments