Kevin, you need to be using jsonb fields, so yes in postgres.

First I needed to fix the jsonb parser:
https://github.com/web2py/pydal/pull/606/files

Buf after I did that I'm getting a lot of errors like this:

  File 
"C:\Users\Leonel\Desktop\web2py\gluon\packages\dal\pydal\parsers\__init__.py", 
line 82, in __call__
    return self.call(value, field_type)
  File 
"C:\Users\Leonel\Desktop\web2py\gluon\packages\dal\pydal\parsers\__init__.py", 
line 79, in _call
    return self.f(self.parser, value)
  File 
"C:\Users\Leonel\Desktop\web2py\gluon\packages\dal\pydal\parsers\base.py", line 
133, in _json
    raise RuntimeError("json data not a string")
RuntimeError: json data not a string


Where it seems like it's trying to parse the json a second time, I'm not 
sure how that happens. This was working fine before the reformatting.




-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/974eb36a-6840-4f17-b863-a5ff94cbd75a%40googlegroups.com.

Reply via email to