db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bales <ry...@soundstrue.com>
Subject Order By with Alias
Date Thu, 03 Jul 2008 06:52:51 GMT

I have the following:

criteria.addAsColumn("relevance", matchClause);

and I would like to order by "relevance" --which obviously is  
undefined in my Torque classes.

so I tried:


but get the following error:

"removeSQLFunction() : Column name relevance DESC does not contain a .  
or a *"

Does anyone know of a way around this? I read some mention that the  
problem was resolved in RC3, but I am still getting the error. Any  
help would be great.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message