Re: [web2py] Re: set of rows as input to smart grid

2015-06-26 Thread Manuele Pesenti
Il 26/06/15 06:31, Davy Jacops ha scritto:
> More general question: since there is no SELECT() call: how can
> SELECT() arguments such as DISTINCT be applied here?
If you need a more general query you can try to use SQLTABLE class[1]

Cheers

M.

[1] https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L3060

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


[web2py] Re: set of rows as input to smart grid

2015-06-25 Thread Davy Jacops
Indeed, thx!

More general question: since there is no SELECT() call: how can SELECT() 
arguments such as DISTINCT be applied here?

Op donderdag 25 juni 2015 05:29:32 UTC+2 schreef Michael Beller:
>
> You can pass a list of fields using the 'fields' arg of smartgrid

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