cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: Expression string
Date Wed, 05 Mar 2008 19:48:29 GMT
Eric,
I looked back at your original example, and it seems to me that the
only thing you need to do is to change it from Expression.fromString()
to SQLTemplate, and #result-ize the "select * from SA.Site s" part and
#bind-ize the parameter placeholders.

On 3/5/08, Michael Gentry <blacknext@gmail.com> wrote:
> When you use an SQLTemplate, you are generating the SQL (except for
>  the caveats of #result and friends), not Cayenne.  You can issue
>  whatever SQL you want to the DB.
>
>  /dev/mrg
>
>
>
>  On Wed, Mar 5, 2008 at 2:37 PM, Eric Polino
>  <eric@campgroundautomation.com> wrote:
>  >  But the SQL supported by cayenne doesn't support EXISTS subqueries.
>

Mime
View raw message