How can I order a resultset of statement_transform by cat_description?

something like
store.find(Statement_Transform).order_by(Asc(Category.cat_description))
except that doesn't work.

Thank you.

Model below:

class Statement_Transform(EBase):
    __storm_table__ = "statement_transform"
    statrans_id = Int(primary=True)
    match = Unicode()
    cat_id = Int()
    cat = Reference(cat_id, Category.cat_id)

class Category(EBase):
    __storm_table__ = "catagory"
    cat_id = Int(primary=True)
    cat_description = Unicode()
    ignore = Bool()

-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to