views:

25

answers:

0

I'm using the SQLAlchemy ORM to work with both MySQL and sqlite. Suppose I have a function that will take input from a column of string type and finally return an integer. The logic of this function may be complicated that can not be implemented by simply using built-in SQL functions provided by back-end database engines. I am wondering what is the best way to perform the query based on this function.

Thanks.