Rows yes:
rows = db().select()
rows.json()
Row no:
row = rows[0]
row.json() # not defined but
simplejson.dumps(row.as_dict())
On Tuesday, 11 September 2012 07:51:56 UTC-5, Alan Etkin wrote:
>
> Aren't dal Row and Rows classes capable of returning json also?
>
> On Tuesday, September 11, 20
Aren't dal Row and Rows classes capable of returning json also?
On Tuesday, September 11, 2012 9:28:52 AM UTC-3, LightDot wrote:
>
> Native JSON features look really interesting.
>
> Basically, postgres can return a row or an array as JSON now. And validate
> JSON. Seems quite handy!
>
> Regards,
Native JSON features look really interesting.
Basically, postgres can return a row or an array as JSON now. And validate
JSON. Seems quite handy!
Regards,
Ales
On Tuesday, September 11, 2012 10:21:54 AM UTC+2, Niphlod wrote:
>
> Happy september with the 9.2 release for everybody
>
> http://wiki
3 matches
Mail list logo