Oryx::DBI::Association::Hash - DBI implementation of hash associations
This provdes an implementation of hash associations with connections made via Oryx::DBI.
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:
within the table there will be exactly three fields:
This will be the ID field for the source table in the link.
This will be the ID field for the target table in the link.
This is the key used to identify the target from the source. This will be unique for the tuple (source_id, _key).
Richard Hundt <richard NO SPAM AT protea-systems.com>
Copyright (c) 2005 Richard Hundt.
This library is free software and may be used under the same terms as Perl itself.