NAME

Oryx::DBI::Association::Hash - DBI implementation of hash associations

SYNOPSIS

See Oryx::Association::Hash.

DESCRIPTION

This provdes an implementation of hash associations with connections made via Oryx::DBI.

GUTS

This is just a quick run-down of implementation details as of this writing to help introduce users to the database internals. These details may change with future releases and might have changed since this documentation was written.

A hash association is stored into the database as a separate table named for the tables linked and the role of the link:

<source>_<role>_<target>

within the table there will be exactly three fields:

source_id

This will be the ID field for the source table in the link.

target_id

This will be the ID field for the target table in the link.

_key

This is the key used to identify the target from the source. This will be unique for the tuple (source_id, _key).

SEE ALSO

Oryx, Oryx::DBI, Oryx::Association::Hash

AUTHOR

Richard Hundt <richard NO SPAM AT protea-systems.com>

COPYRIGHT AND LICENSE

Copyright (c) 2005 Richard Hundt.

This library is free software and may be used under the same terms as Perl itself.