Hi,

In the manual there is a reference, however you can do with:

info = db(db.names.id>0).select()
print info

You will get the proper fields, however you can get the query  with:

info = db(db.names.id>0)._select()
print info

Check the underline before select.

Saludos,

--------------------------------
Alfonso de la Guarda
Twitter: @alfonsodg
Redes sociales: alfonsodg
   Telef. 991935157
1024D/B23B24A4
5469 ED92 75A3 BBDB FD6B  58A5 54A1 851D B23B 24A4


On Sat, Sep 7, 2013 at 9:43 AM,  <archean...@gmail.com> wrote:
> I was wondering, how would I go about checking the SQL statement that is
> generated from the DAL argument?
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to