On Thursday, January 12, 2012 6:41:53 PM UTC-5, chawk wrote:
>
>
> It seems that you are not querying right, 
>
>    last = db().select(db.distributors.ALL) 
>

If you select all the fields in the table, then no need to specify a query, 
as the DAL infers db.distributors.id>0 in that case. 
 

>    ## this is how I usually grab the entire table ## 
>    last = db(db.distributors.id>0).select()
>

This is also correct, though now you don't have to bother with the .id>0 
part:

last = db(db.distributors).select()

Anthony

Reply via email to