NAME
DBIO::DuckDB::Introspect::Uniques - Introspect DuckDB UNIQUE constraints
VERSION
version 0.900007
DESCRIPTION
Fetches the UNIQUE constraints of the tables, the ones written in CREATE TABLE (a unique index is no constraint and is read by DBIO::DuckDB::Introspect::Indexes; the primary key by DBIO::DuckDB::Introspect::Columns). The diff compares them by their column tuple, in order.
METHODS
fetch
my $uniques = DBIO::DuckDB::Introspect::Uniques->fetch($dbh, $schema, $tables, $catalog);
A hashref { $table => { $constraint_name => { constraint_name, columns } } }.
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.