NAME
DBIO::Firebird::Introspect::Uniques - Introspect Firebird UNIQUE constraints via rdb$relation_constraints
VERSION
version 0.900000
DESCRIPTION
Fetches UNIQUE constraint metadata via rdb$relation_constraints joined against rdb$index_segments. This is distinct from DBIO::Firebird::Introspect::Indexes, which deliberately excludes constraint-backed indexes: a Firebird UNIQUE constraint and a standalone CREATE UNIQUE INDEX are different objects, and only the former belongs in the normalized table_uniq_info generation contract.
METHODS
fetch
my $uniques = DBIO::Firebird::Introspect::Uniques->fetch($dbh, $tables);
Given the tables hashref from DBIO::Firebird::Introspect::Tables, returns a hashref keyed by table name. Each value is an arrayref of [ $constraint_name, \@column_names ] pairs (columns in rdb$field_position order), sorted by constraint name.
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.