[support] D7 Sql USING syntax

Earnie Boyd earnie at users.sourceforge.net
Fri Sep 21 18:18:05 UTC 2012


On Fri, Sep 21, 2012 at 10:32 AM, Kamal Palei wrote:
> Thanks Nicolas
> Tried your suggestion. It worked. Thanks.
>
> Nancy, I did not understand your comment "do not convert select query", can
> you kindly elaborate on it.

The only reason to use db_select() is in a case where you have
conditional conditional parts.  The double conditional was intended;
meaning the ->condition() piece itself is conditional.  Otherwise
simple use db_query() to do the job.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd


More information about the support mailing list