Fuuby, what your goal? We may be able to help better...
Richard On Mon, May 11, 2015 at 3:11 PM, Dave S <[email protected]> wrote: > > > On Monday, May 11, 2015 at 11:46:44 AM UTC-7, Dave S wrote: >> >> >> >> On Saturday, May 9, 2015 at 2:54:15 AM UTC-7, fuuby wrote: >>> >>> Hello Everyone :) >>> >>> I just startet using Web2py and currently I am working on a little >>> project. Therefor I want to store data I selected with a >>> SQLTABLE(db().select(something)) from my database into a array (each result >>> into a seperate array "slot"). >>> Like I said, I am new to this and dont really know how to tackle this. >>> Thank you for your help, sorry for bad english >>> >> >> Essentially, the results of a query is a ROWS object, which is something >> like an array (tuple) of ROW objects, which is more like a dict item, each >> key being a field name from the select. >> >> > > By the way, I refreshed my understanding of this by having my controller > print results to the console, which is a quick-and-dirty debug > technique. I should move this to logging, now that I've had some success > at that, but as long as a console is available, print will work. > > You can also use a web2py shell to play with some of these features. > > /dps > > > > > -- > 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. > -- 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.

