NAME

DBIO::Sybase::Introspect::ForeignKeys - Introspect Sybase ASE foreign keys

VERSION

version 0.900000

DESCRIPTION

Fetches foreign key metadata via INFORMATION_SCHEMA.TABLE_CONSTRAINTS and INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE.

METHODS

fetch

my $fks = DBIO::Sybase::Introspect::ForeignKeys->fetch($dbh, $schema, $tables);

Given the tables hashref from DBIO::Sybase::Introspect::Tables, returns a hashref keyed by table name. Each value is an arrayref of foreign key hashrefs.

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.