lazy/eager relationships need an optional order_by parameter

Issue #10 resolved
Mike Bayer repo owner created an issue

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)

  1. Mike Bayer reporter

    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.

  2. Former user Account Deleted
    • removed status
    • changed status to open

    (original author: rtl) Support for asc() and desc() needs to be added.

  3. Log in to comment