projects
/
dbsrgits/DBIx-Class-Historic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
045120e
)
Update find docs re: key attribute
Daniel Westermann-Clark [Mon, 17 Apr 2006 19:35:26 +0000 (15:35 -0400)]
lib/DBIx/Class/ResultSet.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/ResultSet.pm
b/lib/DBIx/Class/ResultSet.pm
index
954daa3
..
d4f8fab
100644
(file)
--- 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<key> is specified, it searches on all unique constraints defined on the
+source, including the primary key.
+
+If the C<key> is specified as C<primary>, it searches only on the primary key.
+
See also L</find_or_create> and L</update_or_create>.
=cut