pub struct SqlAnalyzer;
Expand description
Analyzes SQL DDL changes and generates compatibility reports.
Trait Implementations§
Source§impl SchemaAnalyzer for SqlAnalyzer
impl SchemaAnalyzer for SqlAnalyzer
Source§fn analyze_compatibility(
&self,
old: &Schema,
new: &Schema,
) -> Result<CompatibilityReport, SchemaDiffError>
fn analyze_compatibility( &self, old: &Schema, new: &Schema, ) -> Result<CompatibilityReport, SchemaDiffError>
Source§fn generate_migration_path(
&self,
old: &Schema,
new: &Schema,
) -> Result<MigrationPlan, SchemaDiffError>
fn generate_migration_path( &self, old: &Schema, new: &Schema, ) -> Result<MigrationPlan, SchemaDiffError>
Source§fn validate_changes(
&self,
changes: &[SchemaChange],
) -> Result<ValidationResult, SchemaDiffError>
fn validate_changes( &self, changes: &[SchemaChange], ) -> Result<ValidationResult, SchemaDiffError>
Validates proposed schema changes Read more
Auto Trait Implementations§
impl Freeze for SqlAnalyzer
impl RefUnwindSafe for SqlAnalyzer
impl Send for SqlAnalyzer
impl Sync for SqlAnalyzer
impl Unpin for SqlAnalyzer
impl UnwindSafe for SqlAnalyzer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more