Hello list

I have a simple mapping between a class and a table. What I'd like to
be able to do is dynamically change the query selection (based on some
HTTP param). More precisely I'd like that the ORM generate

SELECT some_sql_function(col1), col2, col3 FROM ...

instead of the default

SELECT col1, col2, col3, FROM ...

And, as I said, I'd like this to be dynamic, so I don't want this to
be hardwired in my mapping definition. Is this possible?

Thanks a lot,

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com

--~--~---------~--~----~------------~-------~--~----~
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 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to