python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
PostgreSQL aggregate over json arrays
I have seen a lot of references to using json_array_elements on extracting the elements of a JSON array. However, this appears to only work on exactly 1 array. If I use this in a generic query, I get ...
Aserian
Votes: 0
Answers: 1
Postgresql: How to search jsonb for LIKE value
I want to see if a string is in the values anywhere within a jsonb. Not interested in the keys, just values.
Something like
select
the_reults
from
my_database
where
jsonb->>'*' L...
David Pesetsky
Votes: 0
Answers: 1
Expanding jsob array in PostgreSQL to produce analytics
Imagine that we have the following table using jsonb on PostgreSQL:
create table writer
(
"firstName" varchar,
"surName" varchar,
books jsonb
);
And the following da...
glarkou
Votes: 0
Answers: 1
postgres 11.6 - Creating array of JSON Objects from JSON array
I have the following schema here: http://sqlfiddle.com/#!17/5c73a/1
I want to create a query where the results will be something like this:
id | tags
_________________________________
1. ...
Pedro Dias
Votes: 0
Answers: 1