I am looking for find how to correctly query a Postgres JSONB field. Suppose I have a JSON object like so And I'm storing it in the field 'data', I ...
I am looking for find how to correctly query a Postgres JSONB field. Suppose I have a JSON object like so And I'm storing it in the field 'data', I ...
So this is my jsonb array of objects. Column is called bids in my db. bids column I want to update price property by the ID of an element for ex. ...
So I work with Postgres SQL, and I have a jsonb column with the following structure: I have a jsonb like this for every product in the database. I ...
I have successfully set up a history table according to this tutorial: https://www.cybertec-postgresql.com/en/tracking-changes-in-postgresql/ My prob ...
I have two tables like these in postgres db : now I want to update the article table to keep the List of tags Ids instead of names from the tag tab ...
I have the postgres row as jsonb, and the value as foll{ "value": { "apple": false, "ball": true, "cat": false } }ows I want to the second level ke ...
I have the next table structure: create table public.listings (id varchar(255) not null, data jsonb not null); And the next indexes: create index l ...
currently I'm struggeling with PostgreSQL 11, JSONB and database indices. We have a customers table (shortened): create table public.customers ( ...
I have a table with JSONB column. In this column we store identifiers of another table as json array of strings. How can I join the tables Table Cust ...
Trying to query product_id and inner JSONB value "quantity_on_hand" with "unit:one". Below is example table Products table I found a query: The ...
I have a json column named "Payload" with a complex json structure as below- Now I need to query all the rows where SLocation is equal to ELocation ...
Given I have rows in my database, with a JSONB column that holds an array of items as such: [ {"type": "human", "name": "Alice"}, {"type": "dog", ...
I want to be able to reference the error table for msg and description based on the err_id on the results table for err_map jsonb column, I'd also wan ...
I have PostgreSQL 11.5 with something similar to this jsonb data: My desired result is (how many times a title is published titl ...
this is my data which is available in the database. I want to replace this with how can I change it? I will get the 2nd json from another se ...
I have created a PostgreSQL function and it is receiving jsonb as an argument and want to extract value from jsonb and save it to db. function: ca ...
I want to select rows using ilike on vin_code with queryBuilder. My jsonb column in task entity named clientData looks like this: I was able to do ...
I have an array of strings in a jsonb column in a postgres DB, which I'd like to migrate to an array of objects with 2 fields. So, turn this: into ...
I have the below data in a JSONB column in PostgreSQL. I would like to use one of the inbuilt JSONB PostgreSQL functions to push/append an integer ...
I have a table "documents" with a jsonb column "metadata" which I need to migrate to a different structure. How can I turn this: {"BirthYear": ["1999" ...