Listing Functions Available in `func` for SQLAlchemy

I use SQLAlchemy and rely heavily on funcfrom

from sqlalchemy import func

Unfortunately, I only know

http://docs.sqlalchemy.org/en/rel_1_0/core/functions.html

in terms of documentation for the types of functions you can use.

For example, you can use func.timediffin MySQL, but this is not documented (I believe). How to find a list of possible functions for MySQL? I have already tried dir(func), but it does not seem to return useful results.

+4
source share
1 answer

You might consider using bpython, it's really nice to show you all the available methods as you type ...

http://bpython-interpreter.org/

0

All Articles