Skip to content

Commit

Permalink
fix for RT#77241
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanez committed May 23, 2012
1 parent 369e69a commit a5d797b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DBIx/Class/Manual/Intro.pod
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ important to declare a L<primary key|DBIx::Class::ResultSource/set_primary_key>
on all your result sources B<even if the underlying RDBMS does not have one>.
In a pinch one can always declare each row identifiable by all its columns:

__PACKAGE__->set_primary_keys (__PACKAGE__->columns);
__PACKAGE__->set_primary_key(__PACKAGE__->columns);

Note that DBIx::Class is smart enough to store a copy of the PK values before
any row-object changes take place, so even if you change the values of PK
Expand Down

0 comments on commit a5d797b

Please sign in to comment.