On Fri, Jan 11, 2013 at 9:05 PM, Dave Cenker <[email protected]> wrote:

> However, this returns a list of company IDs instead of names and when I
> try to do something like this:
>
> db(train.company.id == id) it doesn't work.
>

should be

db(db.train.company == is)

>
> What I'd really like to do is get a list of the names of the companies
> that a user has seen and then make a database selection based upon those
> names in a manner like this:
>
> db(currUserQuery & (db.train.company.name == companyNameText)).select()
>

should be

& (db.company.name == comanyNameText)

-- 



Reply via email to