Closed Rey8d01 closed 5 years ago
I don't think it works that way right now.
Would have to implement it...
In documentation have many simple examples and have not complex examples - how works with embeded documents.
May be possible get access to MotorCursor that do query to mongodb? Because document modeling like motorengine is what I need, but I need some manipulation.
Definitely... I'm just VERY low on spare time to work on this. If you want to take a swing at implementing a Pull Request, it would be brilliant.
I'm sorry but my knowledge is not enough for development. motorengine looks difficult for me. maybe in the future it will be easier to understand.
Ok, as soon as I get some spare time I'll have a look.
Example code
I want to get collection PostDocument will be sorted by meta.dateCreate How I make it via motoengine?
this syntax is not working
because function order_by sort among fields parent document.