Oops, I thought that if DAL is used extensively and all works already, all the proper classes are already imported by the environment (otherwise how can I run queries and do other db-related stuff without importing those classes explicitly??) How can rows=db.select work and return 'rows', which is an instance of the class Rows, if the class Rows is not imported and thus not defined?? What am I missing?
On Tue, May 21, 2019, 8:31 AM Leonel Câmara <[email protected]> wrote: > You need to import Rows from pydal.objects > > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/C31RurYvstc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/6ea3bcf5-d419-453d-8a5d-837af3d661f9%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/6ea3bcf5-d419-453d-8a5d-837af3d661f9%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CABZ%2BKCD3WHacUFg2ug1z8DGTvmJiA2PD-QvvFXBPy9KWhn%2B3jA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

