Now, I'm thinking about to change pyramid from PHP. I'm using advance
sql query for searching

Current mysql is using

SELECT * , IF( `Word` = 'sim', 1, IF( `Word` LIKE 'sim%', 2,
IF( `Word` LIKE '%sim', 4, 3 ) ) ) AS `sort` FROM `dblist` WHERE
`Word` LIKE '%sim%' ORDER BY `sort` , `Word`;


When I read pyramid, there is no code to run sql. Pyramid is using
SQLAlchemy. I am not familier with ORM. Can ORM run sql ? How to run
above query in pyramid ? My current database is using MySQL.


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

Reply via email to