Skip to main content

Crate drasi_mssql_common

Crate drasi_mssql_common 

Source
Expand description

Shared types for MS SQL source and bootstrap plugins

This crate contains configuration, connection, error, and type conversion types used by both drasi-source-mssql and drasi-bootstrap-mssql.

Re-exports§

pub use config::validate_sql_identifier;
pub use config::AuthMode;
pub use config::EncryptionMode;
pub use config::MsSqlSourceConfig;
pub use config::StartPosition;
pub use config::TableKeyConfig;
pub use connection::MsSqlConnection;
pub use error::ConnectionError;
pub use error::LsnError;
pub use error::MsSqlError;
pub use error::MsSqlErrorKind;
pub use error::PrimaryKeyError;
pub use keys::PrimaryKeyCache;
pub use types::extract_column_value;
pub use types::value_to_string;

Modules§

config
Configuration for MS SQL CDC source
connection
MS SQL connection management using Tiberius
error
Error types for MS SQL CDC source
keys
Primary key discovery and element ID generation
types
Type conversion from MS SQL to Drasi ElementValue