I would like to have SQLAlchemy Columnthat will be computed from another column. For example, column month( {'Jan', ...}) from a column date(for example, 2014-09-12), so technically this is a one-time parsing 09before Sep.
Is it possible to write this to the class of the object itself? Or just run updates every time you update records?
PS: Months are taken, for example. I am interested in the general case when the space of a derived column is infinite.
source
share