Hello,
I have a following question:

I have a python method which should get field value from a table.


I would like it to work like this:

I pass method with parameters: *"select flight track field value    10    
cat"*

Then it execute following query:

query = select([FLIGHT_TRACK.c.*cat*]).\
    where(FLIGHT_TRACK.c.flight_track_sys_id == *10*).\
    order_by(desc(FLIGHT_TRACK.c.committed_timestamp))

But currently it doesn't 'see' column_name parameter as a column name from 
Flight Track table. 
How can I make it to use it like expected?

Thanks a lot. Regards.

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/da3ea59a-1af7-48e4-840f-1f75c9a1bc57%40googlegroups.com.

Reply via email to