[Opensource] DBObject count and customWhereClause ...
Michael Rimov
rimovm at centercomp.com
Tue Jun 4 16:01:55 PDT 2002
At 01:37 PM 6/3/2002 +0200, you wrote:
>It seems that count() method dooesn't work with a customWhereClause in
>Expresso V4.02 ...
>
>A simple way to solve this is to replace the code within count() method :
>
>myStatetement.append(buildWhereClauseBuffer(true));
>
>by :
>
>if ( customWhereClause!=nulll )
> myStatement.append(customWhereClause);
>else
> myStatement.append(buldWhereClauseBuffer(true));
I just double-checked CVS and count does use custom whereclause.
HTH!
-Mike
More information about the Opensource
mailing list