Rose :: DB :: Object :: Helpers.

Rose :: DB :: Object :: ÇïÆÛ´Â Rose :: DB :: ObjectÀÇ ÆíÀÇ ¸Þ¼Òµå¸¦ Æ÷ÇÔÇÏ´Â ¹Í½º ÀΠŬ·¡½ºÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

Rose :: DB :: Object :: Helpers. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • John C. Siracusa
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~jsiracusa/

Rose :: DB :: Object :: Helpers. ű×


Rose :: DB :: Object :: Helpers. ¼³¸í

Rose :: DB :: Object :: Helpers´Â Rose :: DB :: ObjectÀÇ ÆíÀÇ ¸Þ¼Òµå¸¦ Æ÷ÇÔÇÏ´Â ¹Í½º ÀΠŬ·¡½ºÀÔ´Ï´Ù. Rose :: DB :: Object :: Helpers´Â Rose :: DB :: Object.Synopsis ÆÐÅ°Áö¿¡ ´ëÇÑ ÆíÀÇ ¸Þ¼Òµå¸¦ Æ÷ÇÔÇÏ´Â ¹Í½º ÀΠŬ·¡½ºÀÔ´Ï´Ù. MyDbObject; Rose :: DB :: Object; @isa = QW (Rose :: DB :: Object); Rose :: DB :: Object :: Helpers 'Clone', {load_or_insert => 'find_or_create'}; ... $ obj = mydbobject-> new (id => 123); $ obj-> find_or_create (); $ obj2 = $ obj-> º¹Á¦ : Rose :: db :: object :: Ç︯½º´Â rose :: db :: object-draved Ŭ·¡½º¿Í ÇÔ²² »ç¿ëÇÏ´Â ÆíÀÇ ¹æ¹ýÀ» Á¦°øÇÕ´Ï´Ù. ÀÌ ¸Þ¼Òµå´Â ¸Þ¼Òµå ³×ÀÓ ½ºÆäÀ̽º¸¦ ±ú²ýÇÏ°Ô À¯ÁöÇϱâ À§ÇØ Rose :: DB :: Object¿¡ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù. (ROSE :: DB :: Object¿¡ Ãß°¡ µÈ °¢ ¸Þ¼Òµå´Â ¿­ ¾×¼¼¼­¿ÍÀÇ ¶Ç ´Ù¸¥ ÀáÀçÀû À̸§À» ÁöÁ¤ÇÕ´Ï´Ù.)ÀÌ Å¬·¡½º´Â Rose :: DB :: Object :: MixIn¿¡¼­ »ó¼ÓµË´Ï´Ù. ÀÌ Å¬·¡½º¿¡¼­ ¸Þ¼Òµå¸¦ °¡Á® ¿À´Â ¹æ¹ý¿¡ ´ëÇÑ Àüü ¼³¸íÀº Rose :: DB :: Object :: Mixin ¹®¼­¸¦ ÂüÁ¶ÇϽʽÿÀ. µµ¿ì¹Ì ¹æ¹ý ÀÚü°¡ ¾Æ·¡¿¡ ¼³¸íµÇ¾î ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


Rose :: DB :: Object :: Helpers. °ü·Ã ¼ÒÇÁÆ®¿þ¾î

¿É¼Ç .pm.

options.pmÀº t.p.usage.options ¸ðµâÀÇ ±¸¹®À» ¸ð¹æÇÏ´Â ¸í·É ÁÙ ¿É¼Ç ±¸¹® ºÐ¼® Perl ¸ðµâÀÔ´Ï´Ù. ...

208

´Ù¿î·Îµå