Hi,

Is possible (Are there some built-in function?) to convert a string
sql expresion to sqlalchemy expression?

I will try to explain this with an example....

An user_table and User mapped class:

sql_where = 'name like '%John%'

sql_where -> User.name.like('John')

sql = user_table.select()
sql.append_whereclause(sql_converted_expresion)

Or....

param = ['name', 'like', '%John%']

and convert param list into sqlalchemy expression

Is possible do anything like this? (I hope be clear)

Thanks in advance.














--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to