Skip to content

Commit

Permalink
batch: remove re-export of consistency enums
Browse files Browse the repository at this point in the history
Remove re-export of consistency enums in batch.rs:
- scylla:statement::batch::Consistency
- scylla:statement::batch::SerialConsistency

A user of the driver should instead use:
- scylla:statement::Consistency
- scylla:statement::SerialConsistency

This change is a part of our effort to stabilize the API and reduce
the number of pub exports.

Refs #660
  • Loading branch information
avelanarius committed Jul 21, 2023
1 parent 9a08488 commit 8b8c467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scylla/src/statement/batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::statement::{prepared_statement::PreparedStatement, query::Query};
use crate::transport::execution_profile::ExecutionProfileHandle;

use super::StatementConfig;
pub use super::{Consistency, SerialConsistency};
use super::{Consistency, SerialConsistency};
pub use crate::frame::request::batch::BatchType;

/// CQL batch statement.
Expand Down

0 comments on commit 8b8c467

Please sign in to comment.