I have records in table like below format.
Table struture
CREATE TABLE test.orders (
id serial NOT NULL,
info json NOT NULL,
value varchar NULL,
CONSTRAINT orders_pkey PRIMARY KEY (id)
);
If I pass value for info column {"101":1}
then only value s1
should be fetched not the others.
So is there any feasible way in postges to fetch exact this type of result?
Thanks