delete_all and count

22 views
Skip to first unread message

Jon

unread,
Sep 2, 2014, 3:06:55 PM9/2/14
to mon...@googlegroups.com
I noticed through our profiler that deleting a Mongoid::Criteria causes a count to occur first. Was that done for the "read before write" performance hack where you get the document into RAM first?
Reply all
Reply to author
Forward
0 new messages