./databases/p5-DBIx-Class-Schema-Loader, Dynamic definition of a DBIx::Class::Schema

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2012Q1, Version: 0.07012, Package name: p5-DBIx-Class-Schema-Loader-0.07012, Maintainer: pkgsrc-users

DBIx::Class::Schema::Loader automates the definition of a
DBIx::Class::Schema by scanning table schemas and setting up columns and
primary keys.

DBIx::Class::Schema::Loader supports MySQL, Postgres, SQLite and DB2.
See DBIx::Class::Schema::Loader::Generic for more, and
DBIx::Class::Schema::Loader::Writing for notes on writing your own
db-specific subclass for an unsupported db.

This module requires DBIx::Class 0.05 or later, and obsoletes
DBIx::Class::Loader for DBIx::Class version 0.05 and later.

While on the whole, the bare table definitions are fairly straightforward,
relationship creation is somewhat heuristic, especially in the choosing
of relationship types, join types, and relationship names. The relationships
generated by this module will probably never be as well-defined as
hand-generated ones. Because of this, over time a complex project will
probably wish to migrate off of L<DBIx::Class::Schema::Loader>.

It is designed more to get you up and running quickly against an existing
database, or to be effective for simple situations, rather than to be what
you use in the long term for a complex database/project.


Required to run:
[security/p5-Digest-MD5] [lang/perl5]

Required to build:
[databases/p5-DBD-SQLite]

Master sites: (Expand)

SHA1: 0834a49d8a37a62d51c778aeb41b7fd535bfcd23
RMD160: 71d1fe6b3a3a8bb7def82d7a02154c4c63ed11c8
Filesize: 186.563 KB

Version history: (Expand)