This is the SQL I want to do:

    select employee.*, 1 + 1 as x
    from employee
    where employee.id = 44;

I know how to do this:

    User.select(User.q.id == 44)

But how can I get the extra column?

In my real-world example, the extra column is more complex.

Matt


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to