**{'%s%s' % (Keyword, n): checked})
Anthony, can you explain it better? It's something that I would like
to understand very well.
Tnx.

On 22 Feb, 20:33, Anthony <abasta...@gmail.com> wrote:
> > I have a simple question in turn. How is it possible to make keyword
> > search criteria dynamic? For example:
>
> > db(Orders.id==id).update(Keyword+n = checked)
>
> > where n is any number?
>
> db(Orders.id==id).update(**{'%s%s' % (Keyword, n): checked})
>
> Anthony

Reply via email to