Holly cow. I just missed this page!
Thanks a lot (again) Jon.

On Wednesday, 6 June 2012 13:00:04 UTC-3, fultonj wrote:
>
> On Wed, Jun 6, 2012 at 11:51 AM, Tomas Schertel wrote: 
> > How can I create a db select using two "where"? 
> > Is this right? 
> > 
> > results = db.select('mytable', where="id>100 and active=1") 
>
> Perhaps you're looking for this? 
>
>  http://webpy.org/cookbook/where_dict 
>
> or you could just write your sql string explicitly and do this: 
>
>  db.query(sql) 
>
>   John 
>
>
>
>
>
> -- 
>   John 
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/5Lh4H8mzSsYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to