NAME

DBIO::Sybase::Diff - Compare two introspected Sybase ASE models

VERSION

version 0.900000

DESCRIPTION

DBIO::Sybase::Diff compares two introspected Sybase ASE database models (as produced by DBIO::Sybase::Introspect) and produces a list of structured diff operations that can be rendered to SQL or a human-readable summary.

my $diff = DBIO::Sybase::Diff->new(
    source => $current_model,
    target => $desired_model,
);

if ($diff->has_changes) {
    print $diff->as_sql;
    print $diff->summary;
}

Diff operations are generated in dependency order: foreign-key drops first (so a referenced table/column can then be dropped), then tables, columns and indexes, then foreign-key adds last (so the tables/columns they reference already exist).

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 84:

Unknown directive: =seealso