add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
CREATE TABLE
INSERT 0 4
CREATE TABLE
INSERT 0 4
id thing blueprint
3 thing 3 {"1":{"name":"Azamund","weight":"3"}, "2":{"name":"Iskapola","weight":"1"}}
4 thing 4 {"1":{"name":"Ulamir","weight":"1"}, "2":{"name":"Azamund","weight":"1"}}
SELECT 2
id thing blueprint
3 thing 3 [{"name":"Azamund","weight":"3"}, {"name":"Iskapola","weight":"1"}]
4 thing 4 [{"name":"Ulamir","weight":"1"}, {"name":"Azamund","weight":"1"}]
SELECT 2
id name
3 Azamund
4 Azamund
SELECT 2