From: Daniel Westermann-Clark Date: Mon, 17 Apr 2006 19:35:26 +0000 (-0400) Subject: Update find docs re: key attribute X-Git-Tag: v0.07002~75^2~237^2~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7c193ab90cb74062c1fc801e1cab35970d0ba25a;p=dbsrgits%2FDBIx-Class.git Update find docs re: key attribute --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index 954daa3..d4f8fab 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -287,6 +287,11 @@ constraint. For example: { key => 'artist_title' } ); +If no C is specified, it searches on all unique constraints defined on the +source, including the primary key. + +If the C is specified as C, it searches only on the primary key. + See also L and L. =cut