You have the table definition written in dal ? 

To populate them and test .

Em quinta-feira, 27 de abril de 2017 07:00:17 UTC-3, Pierre escreveu:
>
> Hi,
>
> Is there a way to transform this sql into a valid DAL expression ?
>
> "SELECT csp, COUNT(csp)AS freq FROM table GROUP BY csp ORDER BY COUNT(csp) 
> DESC LIMIT %s OFFSET %s;" %(limit,offset)
>
>
> I want to avoid executesql as much as i can......
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to