Any insights why the selectclause is not used?

Thanks.

On Apr 14, 10:46 pm, Marco van den Oever <[email protected]>
wrote:
> I have the folowing code:
>
> <cfset props = {} />
> <cfset props.selectclause="DISTINCT productobjectid" />
> <cfset props.orderbyclause="datetimecreated desc" />
> <cfset props.maxrows="5" />
>
> When i do a cfdump i see the sql:
>
> SELECT * FROM shopproductbehaviour_sails WHERE 0=0
>
> That is reflected in the fact i see duplicate products that are pulled
> by the above productobjectid.
>
> Am i doing something wrong here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to