- changed status to resolved
lazy/eager relationships need an optional order_by parameter
Issue #10
resolved
right now lazyloader and eagerloader both look at OID to produce insert-order returns of the results. since MySQL cant really handle insert-order particularly for many-to-many, there will probably be a need for the return order to be controlled externally.
Comments (3)
-
reporter -
Account Deleted - removed status
- changed status to open
(original author: rtl) Support for asc() and desc() needs to be added.
-
reporter - changed status to resolved
ok, i think this should be really fixed now, in changeset:698
- Log in to comment
fixed in changeset:693.
the parent Mapper still always adds an "order by <maintable>.oid" type of thing to insure parent object order. my only concern about that is it might add a performance hit to a query, and its not really needed in a lazyload.