Hi all,

Got this query: 

for row in db().select( db.XXXXX.YYYYYY.year(), distinct=True, 
orderby=db.XXXXX.YYYYYY.year(), ):
     ayears.append(  row[ db.XXXXX.YYYYYY.year() ] )
     count = db( db.XXXXX.YYYYYY.year() == row( db.XXXXX.YYYYYY.year() ) 
).count()


Don't know why all rows return the values with an L at the end of the of 
it: [2015L, 6249L, 2016L, 9632L] 
This doesnt happend when its html print.


Any ideas?


Regards,


-- 
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.

Reply via email to