For anyone coming here from google 4 years later, func
is now in sqlalchemy.sql.expression
.
Example:
from sqlalchemy.sql.expression import func
session.query(func.max(Table.column))
For anyone coming here from google 4 years later, func
is now in sqlalchemy.sql.expression
.
Example:
from sqlalchemy.sql.expression import func
session.query(func.max(Table.column))