IS_IN_DB(db, 'lesson.id', lambda r: r['name'].upper())

this may work.

On Nov 25, 9:11 am, Mirek Zvolský <[email protected]> wrote:
> I'm sorry that I repeat my question, but I still cannot find solution.
>
> Following works:
> IS_IN_DB(db, 'lesson.id', '%(name)s')
>
> And now I need an expression in 3-rd parameter instead of simple field
> name, something like:
> IS_IN_DB(db, 'lesson.id', '%(name.upper())s')
> to see all names in Uppercase. This however doesn't work.
>
> Is there a way how to do it?
> Thanks in advance.
> Mirek

Reply via email to