pyfarm.master.user_interface.jobtypes module¶
Jobtypes¶
UI endpoints allowing seeing and manipulating jobtypes via the web interface
-
pyfarm.master.user_interface.jobtypes.
desc
(column)¶ Produce a descending
ORDER BY
clause element.e.g.:
from sqlalchemy import desc stmt = select([users_table]).order_by(desc(users_table.c.name))
will produce SQL as:
SELECT id, name FROM user ORDER BY name DESC
The
desc()
function is a standalone version of theColumnElement.desc()
method available on all SQL expressions, e.g.:stmt = select([users_table]).order_by(users_table.c.name.desc())
Parameters: column – A ColumnElement
(e.g. scalar SQL expression) with which to apply thedesc()
operation.