NAME

DB::Introspector::Util::RelInspect

SYNOPSIS

use DB::Introspector::Util::RelInspect;

my @paths = DB::Introspector::Util::RelInspect
            ->find_mapped_paths_between_tables( $parent_table, $child_table );
    

DESCRIPTION

DB::Introspector::Util::RelInspect is a utility class that contains methods that deal with relationship traversal.

METHODS

find_mapped_paths_between_tables($parent_table, $child_table)

    Params:

      $parent_table - the first element of each path

      $child_table - the last element of each path

    Returns: All paths between $parent_table and $child_table where $child_table depends on $parent_table, even indirectly.

SEE ALSO

AUTHOR

Masahji C. Stewart

COPYRIGHT

The DB::Introspector::Util::RelInspect module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.