db((db.table.field1.id>0)&(db.table.field2.length>0)).select()

This still returns the whole field. I'm thinking the length takes the 
length of the entire field. How can I bring back all records that aren't 
empty for a field

For example

db.table.field2

row1: has information
row2: <empty>
row3: has information

in my query I only want to return row 1 & 3. I'm sure there is an easy way 
to do this?

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