I am using SQLAlchemy to make database-independent querys.
I am facing one issue with to_char
function.
Consider the simple query like:
select to_char(id,'999') from xyz
It's working on Postgres but MySQL doesn't support it.
How can I make this query database-independent using SQLAlchemy?