Permalink
Browse files

Doc change in Elastic::Manual::Attributes::Unique for clarification

  • Loading branch information...
1 parent 24dca5d commit f05975bcc84564bf43f40202f89fa4119a30557d @clintongormley committed Aug 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Elastic/Manual/Attributes/Unique.pod
View
4 lib/Elastic/Manual/Attributes/Unique.pod
@@ -97,12 +97,12 @@ L<on_unique|Elastic::Model::Role::Doc/on_unique> parameter:
$doc->save(
on_unique => sub {
- my ($doc,$conflicts) = @_;
+ my ($doc,$failed) = @_;
# do something
}
)
-The C<$conflicts> hashref will contain a hashref whose keys are the name
+The C<$failed> hashref will contain a hashref whose keys are the name
of the L<unique_keys|Elastic::Manual::Attributes/unique_key> that have
conflicts, and whose values are the values of those keys which already exist,
and so cannot be overwritten. For instance:

0 comments on commit f05975b

Please sign in to comment.