db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Allen <...@mojavelinux.com>
Subject modified column
Date Thu, 13 Mar 2003 10:53:01 GMT
Is it at all possible to do something like:

add("(" + 2003 " - " + UserPeer.BORN + ")", 20);

to get people that are 20 years old?  Assume that the actually query
is more complicated and it is not as simple as just comparing the
year they were born, to 2003 - 20.  I am going for a concept here,
not a solution to this example.

Why can't a column be modified in the WHERE clause?  This makes it
inconvenient when doing conditions.  I would rather not have to
create a CUSTOM add() for this.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <dan@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Real programmers just hate to get up in the morning, and 
contrary to Ordinary People, they're in better shape as 
it gets closer to nighttime.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Mime
View raw message