NAME

DBIO::Oracle::Introspect::ForeignKeys - Introspect Oracle foreign keys

VERSION

version 0.900000

DESCRIPTION

Fetches Oracle foreign key metadata via all_constraints, all_cons_columns, and all_indexes. Includes deferrability information from all_constraints directly.

METHODS

fetch

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

Returns a hashref keyed by table name, each value an arrayref of FK hashrefs with: fk_name, from_columns, to_table, to_columns, on_update, on_delete, is_deferrable.

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.