rows = db(db[request.args(0)][request.args(2)] == request.args(1)).select
(....

Anthony

On Tuesday, August 7, 2012 2:15:09 PM UTC-4, Larry Wapnitsky wrote:
>
> from a web page, i'm able to successfully query my database using the 
> following:
>
> rows = db(db[request.args(0)].id == request.args(1)).select(....
>
>
> What I'm having trouble with is passing another argument that specifies 
> another column other than id.  I've tried the following with no success:
>
> rows = db(db[request.args(0)].[request.args(2)] == request.args(1)).select
> (....
>
>
> rows = db(db[request.args(0)].request.args(2) == request.args(1)).select
> (....
>
>

-- 



Reply via email to