bsb has asked for the wisdom of the Perl Monks concerning the following question:
Is there a better DBI automatic metadata module?
$ perl -MDBIx::DBSchema -e 'print DBIx::DBSchema->new_native("dbi:mysq +l:ahp")->pretty_print' | head -n 20 'patient' => { 'columns' => [ ], 'primary_key' => 'id', 'unique' => [ [ 'patient_key', 'div_id' ] ], 'index' => [ ], }, 'gp' => { 'columns' => [ 'id', 'int', '', '11', '', 'auto_increment', 'div_id', 'int', '', '11', '0', '', 'name', 'text', '', '', '', '', 'display', 'tinyint', 'NULL', '1', '0', '', ], 'primary_key' => 'id', 'unique' => [ ], 'index' => [ ], },
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jeffa) Re: Anyone using DBIx::DBSchema + MySQL?
by jeffa (Bishop) on Jun 20, 2003 at 14:05 UTC | |
by bsb (Priest) on Jun 21, 2003 at 07:57 UTC |