I knew once upon a time I saw this, but have never been able to relocate it again, so thanks for mentioning it. Now I can finally see what it does! It gets a list of tables from the DB and then calls the
set_up_table method from the driver-specific parts of
Class::DBI. Browsing the source of these, none of them seem to do much more than make a list of columns and figure out the primary key. They don't setup lazy loading or any foreign keys, but I think I know why. This approach doesn't seem to match the philosophy of
Class::DBI -- it wants you to be able to name a foreign key relation however you like, and lazy load columns however you like (and as the all-purpose tool out there, it should). My module has a much lazier usage philosophy. It's willing to reduce your flexibility and give you some (I think) very reasonable defaults in order to get you up and running with the easy stuff in less time.
blokhead
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.