DBIX :: Inspector. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- MATSUNO Tokuhiro
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~tokuhirom/Sledge-Plugin-TmplParamsBinder-0.01/lib/Sledge/Plugin/TmplParamsBinder.pm
DBIX :: Inspector. ű×
DBIX :: Inspector. ¼³¸í
DBIX :: Inspector´Â $ dbh.synopsis ¿ë Perl Inspector »ç¿ë DBIX :: Inspector¸¦ »ç¿ëÇÕ´Ï´Ù. ³» $ dbh = dbi-> connect (...) ¶Ç´Â Á×À»; MY $ Inspector = DBIX :: Inspector-> New (dbh => $ dbh); ³» @tables = $ Inspector-> Å×À̺í; $ TABLE (@Tables) {Àμâ "PK : \ n"; $ PK ($ table-> primary_key) {print "", $ pk-> name, "\ n"; } Àμâ "¿ : \ n"; $ column ($ table-> ¿) {print "", $ column-> name, "\ n"; }} Á¦Ç°ÀÇ È¨ÆäÀÌÁö
DBIX :: Inspector. °ü·Ã ¼ÒÇÁÆ®¿þ¾î