Rose::DB::Object::Metadata::ForeignKey

Rose::DB::Object::Metadata::ForeignKey is a foreign key metadata class.
Download

Rose::DB::Object::Metadata::ForeignKey Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • John C. Siracusa
  • Publisher web site:
  • http://search.cpan.org/~jsiracusa/

Rose::DB::Object::Metadata::ForeignKey Tags


Rose::DB::Object::Metadata::ForeignKey Description

Rose::DB::Object::Metadata::ForeignKey is a foreign key metadata class. Rose::DB::Object::Metadata::ForeignKey is a foreign key metadata class.SYNOPSIS use Rose::DB::Object::Metadata::ForeignKey; $fk = Rose::DB::Object::Metadata::ForeignKey->new(...); $fk->make_methods(...); ...Objects of this class store and manipulate metadata for foreign keys in a database table. It stores information about which columns in the local table map to which columns in the foreign table.This class will create methods for the thing referenced by the foreign key column(s). You'll still need accessor method(s) for the foreign key column(s) themselves.Both the local table and the foreign table must have Rose::DB::Object-derived classes fronting them.Foreign keys can represent both "one to one" and "many to one" relationships. To choose, set the relationship_type attribute to either "one to one" or "many to one". The default is "many to one". Requirements: · Perl


Rose::DB::Object::Metadata::ForeignKey Related Software