On 18 Nov 2008, at 21:51, cliffmoon wrote: > > Is there a reason why DM will issue an order by id as part of a query > issued from Model#first? I'm trying to query a rather large table and > the filesort incurred from the order by is simply killing the > performance. I'm using dm 0.9.3.
It's basically in there for getting stable results (so knowing what to expect). We are working on getting this behavior out, there should be no explicit ordering by default imho. There is no way of turning it off at this moment, but monkey patching DM do not do this shouldn't be that hard and probably won't break anything (no guarantees). -- Regards, Dirkjan Bussink --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
