rows = pydal.objects.Rows()
On Tuesday, 21 May 2019 04:14:45 UTC+1, Vlad wrote: > > I must be missing something very basic here... > > Want to create an empty Rows object, and then to append to it sets of rows > from various sql queries with the same structure of the result sets. > > The first line in the code (in a controller) is > rows = Rows() > with an intention of creating an empty Rows object. > > This gives an error: <class 'NameError'> name 'Rows' is not defined > > Why is that? Why can't I create an empty Rows object? > > > > -- 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/0be8456d-3d39-4929-98e1-0751a4bb7c74%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

