Just figured out:

~db(db.log.severity.belongs((1, 2))).select()

Thanks!


On Wed, Apr 10, 2013 at 10:11 PM, Tito Garrido <[email protected]>wrote:

> Hi Folks,
>
> How can I negate:
>
> db(db.log.severity.belongs((1, 2))).select()
>
>
> I'd like to create a grid with records that does not belong to a specific
> list...
>
> Regards,
>
> Tito
>
> --
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
>



-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to