ktats****@users*****
ktats****@users*****
2011年 4月 29日 (金) 02:18:27 JST
Index: docs/modules/DBIx-Class-0.08127/lib/DBIx/Class/Manual/Intro.pod diff -u docs/modules/DBIx-Class-0.08127/lib/DBIx/Class/Manual/Intro.pod:1.1 docs/modules/DBIx-Class-0.08127/lib/DBIx/Class/Manual/Intro.pod:1.2 --- docs/modules/DBIx-Class-0.08127/lib/DBIx/Class/Manual/Intro.pod:1.1 Fri Apr 29 01:44:57 2011 +++ docs/modules/DBIx-Class-0.08127/lib/DBIx/Class/Manual/Intro.pod Fri Apr 29 02:18:27 2011 @@ -50,8 +50,12 @@ A Result class == Table +=begin original + (most of the time, but just bear with my simplification) +=end original + (ã»ã¨ãã©å¸¸ã«ãã§ããããã®åç´åã«ææ ¢ãã¦ãã ãã) =head2 ResultSetã«ã¤ãã¦ã®å ¨ã¦ @@ -394,8 +398,12 @@ __PACKAGE__->set_primary_key('albumid'); +=begin original + If you have a multi-column primary key, just pass a list instead: +=end original + è¤æ°ã«ã©ã ã®ãã©ã¤ããªãã¼ããããªãã代ããã«ããªã¹ãã渡ãã¦ãã ãã: __PACKAGE__->set_primary_key( qw/ albumid artistid / ); @@ -897,7 +905,7 @@ =head1 注æ -=head2 The Significance and Importance of Primary Keys +=head2 ãã©ã¤ããªã¼ãã¼ã®æ義ã¨éè¦æ§ The concept of a L<primary key|DBIx::Class::ResultSource/set_primary_key> in DBIx::Class warrants special discussion. The formal definition (which somewhat