On Saturday, June 25, 2011 1:07:39 PM UTC-4, elffikk wrote:
>
>
> try
>
> def get_data():
>custdata = db.executesql(qry, as_dict=True)
>return response.json(custdata.as_list())
He's already using as_dict=True in the executesql call, so doing
custdata.as_list() shouldn't be necessary.
try
def get_data():
custdata = db.executesql(qry, as_dict=True)
return response.json(custdata.as_list())
also go to this link http://yoururl/app/controller/get_data
you should see a json response
It can paginate data?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Or print it. I have had to do massive amounts of data in html and pdf
format.
BR,
Jason Brower
On 06/21/2011 08:26 PM, Vineet wrote:
@Sebastian, @pbreit,
I understand what you mean to say.
If I get you rightly, I should fetch only a limited no. of rows
through pagination.
It makes sense for mos
why you need to return 10k records in one go ?
--
Sebastian E. Ovide
5 matches
Mail list logo