>I think that the thing could be more neatly implemented (without string
>chopping) using the doRawSelect method that fanyun suggested and I
>believe John is about to commit.

Yes, I looked at it, but there is one more problem with SQL (at least with 
MySQL)
  OR I don't understand something in  doRawSelect...

Function getCount() sent by funyun looks  OK for all records, but
when you have an Criteria object filled - that means BasePeer creates
query string like: "select table.id,table.name from table where ...." etc.
you cannot simply add column "count(...)" into Criteria,
because mixing of GROUP columns
and no GROUP columns is illegal without GROUP BY clause...


>--
>Sean Legassick
>[EMAIL PROTECTED]
>       Czlowiekiem jestem i nic co ludzkie nie jest mi obce
>

??? Polish sentence?

                                 Regards
                                         Oskar



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to