From: Peter Rabbitson Date: Thu, 17 Jun 2010 09:00:30 +0000 (+0200) Subject: added caveat that update/delete on the resultset breaks Ordered X-Git-Tag: v0.08124~134 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=65285cf717d05229a64b45df838b7ea8fc758925;p=dbsrgits%2FDBIx-Class.git added caveat that update/delete on the resultset breaks Ordered --- diff --git a/lib/DBIx/Class/Ordered.pm b/lib/DBIx/Class/Ordered.pm index c9579a8..049d9c6 100644 --- a/lib/DBIx/Class/Ordered.pm +++ b/lib/DBIx/Class/Ordered.pm @@ -943,9 +943,23 @@ __END__ =head1 CAVEATS +=head2 Resultset Methods + +Note that all Insert/Create/Delete overrides are happening on +L methods only. If you use the +L versions of +L or +L, all logic present in this +module will be bypassed entirely (possibly resulting in a broken +order-tree). Instead always use the +L and +L methods, which will +invoke the corresponding L method on every +member of the given resultset. + =head2 Race Condition on Insert -If a position is not specified for an insert than a position +If a position is not specified for an insert, a position will be chosen based either on L or L, depending if there are already some items in the current group. The space of time between the