| dbix :: class :: schema :: loader :: reluilder. DBIX :: Class :: Schema :: Loader :: Relebrilder´Â DBIX :: Class :: Schema :: Loader¿¡ ´ëÇÑ °ü°è¸¦ ºôµåÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
dbix :: class :: schema :: loader :: reluilder. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Brandon Black
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~blblack/DBIx-Class-Schema-Loader-0.03007/lib/DBIx/Class/Schema/Loader/RelBuilder.pm
dbix :: class :: schema :: loader :: reluilder. ű×
dbix :: class :: schema :: loader :: reluilder. ¼³¸í
dbix :: class :: schema :: loader :: RelearBuilder´Â dbix :: class :: schema :: loader¿¡ ´ëÇÑ °ü°è¸¦ ºôµåÇÏ´Â perl ¸ðµâÀÔ´Ï´Ù. dbix :: class :: schema :: loader :: Relebruilder´Â dbix :: class :: schema :: loader.this Ŭ·¡½º¿¡ ´ëÇÑ °ü°è¸¦ dbix :: class :: schema :: loader¿¡ ´ëÇÑ °ü°è¸¦ ºôµåÇÏ´Â perl ¸ðµâÀÔ´Ï´Ù. ÀÌ°ÍÀº ¸ðµâÀÌ ¾ÆÁ÷ ¿ÜºÎ Use.methodsnewargumentsÀÔ´Ï´Ù. schema_class (scalar), fk_info (hashref), inflect_plural, infect_singular $ schema_class´Â ¼Ò½º Ŭ·¡½º°¡ ÀÌ¹Ì ¼³Á¤µÇ°í µî·Ï µÈ ½ºÅ°¸¶ Ŭ·¡½º À̸§À̾î¾ßÇÕ´Ï´Ù. ¿ Á¤º¸, ±âº» Å° ¹× °íÀ¯ ÇÑ Á¦¾à Á¶°ÇÀº ±âÁ¸ ¼Ò½º Monikers¿¡ ´ëÇØÀÌ ½ºÅ°¸¶¿¡¼ °¡Á®¿É´Ï´Ù. {tablemoniker => , remote_columns => , anothertablemoniker => , # ...} ¿É¼Ç ÀÎÇ÷¹ ¸£ _Plural ¹× infect_singular´Â ¼±Åà »çÇ×ÀÔ´Ï´Ù. dbix :: class :: schema :: loader :: base.generate_codethis ¸Þ¼Òµå´Â "eval"- eval "ÀÏ ¼öÀÖ´Â ÄÚµå ¹®ÀÚ¿ÀÇ ArrayRef°¡ Æ÷ÇÔ µÈ Å×ÀÌºí ¸ð´Ï Ä¿¸¦ Æ÷ÇÔÇÏ´Â Å×ÀÌºí ¸ð´Ï Ä¿¸¦ Æ÷ÇÔÇÑ »ý¼º µÈ °ü°è¸¦ Å×À̺í Moniker·Î ¸®ÅÏÇÕ´Ï´Ù. ¿øº» Ŭ·¡½ºÀÇ ÄÁÅؽºÆ®´Â ´ÙÀ½°ú °°½À´Ï´Ù. { 'ÀϺΠ:: source :: class'=> '´Ù¸¥ :: ¼Ò½º :: Ŭ·¡½º'=> , # ...} °¢ ¹®ÀÚ¿À» ÀûÀýÇÑ ¼Ò½º Ŭ·¡½º ÆÄÀÏ¿¡ Ãß°¡ÇÏ¿© µð½ºÅ© µð½ºÅ© ¼Ò½º Ŭ·¡½º ÆÄÀÏ ÀÛ¼º ¿¡¼ÀÌ ±â´ÉÀ» »ç¿ëÇÏ·Á°í ÇÒ ¼ö ÀÖ½À´Ï´Ù. , Pr. __package __->¿¡ ÀÇÇØ exuxed. ¿ä±¸ »çÇ× : ¡¤ Perl.
dbix :: class :: schema :: loader :: reluilder. °ü·Ã ¼ÒÇÁÆ®¿þ¾î