Umm... sorry took long to answer, i have put on issue on PyDAL repo and a pull request with a posible fix:
https://github.com/web2py/pydal/pull/531 El martes, 10 de abril de 2018, 22:20:04 (UTC-4), Anthony escribió: > > On Tuesday, April 10, 2018 at 6:14:06 PM UTC-4, Yoel Benitez Fonseca wrote: >> >> Is this not working any more ? >> >> >>> q = (db.photo.id == 1) >> >>> db(q.as_dict(flat=True)).select() >> File "<string>", line unknown >> SyntaxError: Operator not supported: eq >> >> That is in a web2py shell,i mean is the same thing passing around the >> query in the session as a dict, is not ? >> > > Looks like it could be broken now. Feel free to file an issue with the > PyDAL repository. > > Anthony > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

