Let's bring this up on web2py developers. I will support it. Can you submit 
a patch to pydal?

On Wednesday, 5 August 2015 17:15:54 UTC-5, Manuele wrote:
>
> Hi! 
> I have a table with a json field and I woul like to perform something 
> like: 
>
> db(db.mytable.id>0).select(db.mytable.myjsonfield.getitem('myfield').with_alias("myfield"))
>  
>
>
> the only way I thought is the patch in attachment that works just fine 
> but I don't like to use a patched version of the framework. 
> Is these a way to monkeypath the two classes PostgreSQLAdapter and 
> Expression (I guess before the db definition) in my application? 
>
> On the other hand... do you think it could be a usefull implementation 
> for web2py itself? 
>
> Thanks a lot 
>
>     Manuele 
>

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