Do we have it? if so whats the syntax. Additionally, i am creating my model's associations with column in the lookup table eg. ``` js db.Product.hasMany("additionalmedia", db.MediaItem, { order: Number }, { reverse : "additionalproducts" }); ``` I'd like to be able to sort by order. Both ``` js product.getAdditionalmedia('order', function (err, additionalImages) { ``` and ``` js product.getAdditionalmedia({}, 'order', function (err, additionalImages) { ``` don't seem to have any effect. Thanks :)
Activity
dresende commentedon Jun 11, 2013
Try:
I have to change it to support a string so you can just pur
order(asc) or-order(desc).dresende commentedon Jul 2, 2013
You can use "order" (ascending) or "-order" (descending).