Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Would you be able to give a bit of context for the limitations of the new syntax that you’re pointing out? Could they be overcome (and if so why did it ship like this) or are they inevitable?


I don't think it's a limitation, it's just by design. a['b'] is equivalent to a->'b' not to a->>'b', otherwise deep references (a['b']['c']) would not work because first a['b'] would return text and not jsonb value.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: