News for hackers. Stuff that matters.
Re:SQL Tip: JSONB_AGG in PostgreSQL for simple one-to-many j... by sven_n on Friday August 03, 2018 @04:19PM (#17683278)
I'm doing this even more extreme... querying a whole complex object graph based on an entity framework core model :) https://github.com/MUnique/OpenMU/blob/master/src/Persistenc...
Re:SQL Tip: JSONB_AGG in PostgreSQL for simple one-to-many j... by tbrugz on Saturday August 04, 2018 @11:17AM (#17687146)
Oracle has cursor expressions that returns a resultset inside a cell from the parent resultset. The whole resultset could then be serialized to json, xml or whatever

I wish there was an equivalent function in PostgreSQL. I've even asked a question about that on stackoverflow:

https://stackoverflow.com/questions/8637050/cursor-inside-sq...

Re:SQL Tip: JSONB_AGG in PostgreSQL for simple one-to-many j... by zykran on Friday August 03, 2018 @08:56AM (#17679413)
Nice !