On Thu, Feb 08, 2001 at 03:41:28PM +0100, Oskar ?wida wrote:
> OK this is the patch. :=) Could it look like this?
> 
> NOTE: second method was created in hurry - it will not manage
>             SQL with GROUP BY clause for example (is it possible with 
> Criteria object? - I don't remember)
>             perhaps in next version I can build SQL WHERE clause from 
> Criteria as it is
>             done in createQueryString ...

This looks okay, and Criteria doesn't do GROUP BY so you're fine there.

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.

Mind you this would mean the method going in the Torque generated peer
rather than BasePeer...

Sean

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


------------------------------------------------------------
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