monkeydata
Joined 7 years ago
Karma
3
Submissions
11
Member since
Jan 17
Joined 7 years ago
All email is perl.
SELECT a.this, b.that FROM a, b WHERE a.id = b.a_id;
it just implies SELECT ... FROM a LEFT JOIN b ON(true) WHERE ...
SELECT this , that , something FROM table
takes a while to get used to
I recently stumbled on the postgres method jsonb_insert(jsonb,path,value) which is much more elegant than jsonb_set(jsonb,path,jsonb||value) when you just want to add a thing to some json array inside an object.
I hadn't really looked at the docs much since 9.x, I deal with jsonb everyday, so I had what I needed memorized. But despite keeping my installs updated, I had been doing it the hard way for way too long.