NAME

DBIO::DuckDB::Diff::Table - Diff operations for DuckDB tables

VERSION

version 0.900000

DESCRIPTION

Represents a table-level diff operation in DuckDB: CREATE TABLE or DROP TABLE. create ops capture the target columns and foreign keys so as_sql can emit the full inline definition in a single statement (DuckDB is happiest when a table is created whole rather than built up with ALTER TABLE ADD COLUMN).

METHODS

diff

my @ops = DBIO::DuckDB::Diff::Table->diff(
    $source_tables, $target_tables,
    $target_columns, $target_fks,
);

as_sql

summary

AUTHOR

DBIO Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors

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