cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Garcia <>
Subject count(*) with parameter
Date Sun, 18 Apr 2010 16:15:36 GMT

I am not sure how to create a select count(*) in the modeler when I need to
pass a parameter ?
I downloaded the petstore example, and it seems that I have to create a "Raw
SQL" Query, and directly write my select count(*)...

=>but how to I had my parameter in my SQL ?

... then I suppose I can do ctxt.performQuery("myCount",params,true) ?

thanks for help for this beginner question...


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message