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 bf5c649 commit ac3c583Copy full SHA for ac3c583
scylla/src/client/session.rs
@@ -1446,7 +1446,7 @@ impl Session {
1446
/// # Ok(())
1447
/// # }
1448
/// ```
1449
- pub async fn prepare_batch(&self, batch: &Batch) -> Result<Batch, ExecutionError> {
+ pub async fn prepare_batch(&self, batch: &Batch) -> Result<Batch, PrepareError> {
1450
let mut prepared_batch = batch.clone();
1451
1452
try_join_all(
@@ -1458,7 +1458,7 @@ impl Session {
1458
let prepared = self.prepare(query.clone()).await?;
1459
*statement = BatchStatement::PreparedStatement(prepared);
1460
}
1461
- Ok::<(), ExecutionError>(())
+ Ok::<(), PrepareError>(())
1462
}),
1463
)
1464
.await?;
0 commit comments