Hi Mike,

Thanks for the reply. 
I'm just not sure that using `eval` represents a "cleaner" way than my 
original code...

The Class query options are specified by the end user through a <select> 
(html form) so using eval poses a security risk I would like to avoid.

I was hoping slqalchemy would give me a clean way to access mapped objects 
using a String as Identifier. Like a getter of some kind.

JP

  
 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/JPo9YefjDXgJ.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to