Closed stephenlacy closed 8 years ago
this allows returning a sort based on an index Model.orderBy({index: r.desc('created')}
Model.orderBy({index: r.desc('created')}
@stevelacy I don't think this needs to be in the ready callback, does it?
I have only used it in the ready cb, but this probably will need to fire before the relations are set. I'll updated it
Updated
this allows returning a sort based on an index
Model.orderBy({index: r.desc('created')}