43 ms·
Fair, but for objects like in the OP sample? Is there any advantage that justifies the extra steps?
by jpcapdevila 4y ago
Fair, but for objects like in the OP sample? Is there any advantage that justifies the extra steps?
- zrail 4y agoI think the advantage for simple objects is just that you can refer to the columns directly vs having to go through a function. It's only really a big win if you're manually writing a lot of sql or if you're using something like Rails and you want to write queries against values in the JSON blob without going through a bunch of hoops.