<div dir="ltr">transactions = Transaction.select().order_by(desc(Transaction.created))[:]<br><br>This works without the desc() method but it fails after I wrap Transaction.created in desc().<br><br>The documentation states that the following should work:<br>

<br>for p in Product.select(lambda p: p.price > 100).order_by(desc(Product.price))<div><br></div><div><div>Thanks in advance for any pointers.</div></div></div>