Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
0 answers
49 views

Context A bit of context. I have a service responsible for handling search queries from our users. The goal of the project is to build a unified storage system that can hold various entities from our ...
0 votes
1 answer
74 views

I have a column named layout in a table named pages which contains JSON. In this case, the JSON actually represents the HTML of a page. Information is infinitely nested, just as an HTML page would be. ...
1 vote
2 answers
83 views

I'm learning the jsonb data type in PostgreSQL. I executed the following statements: CREATE TABLE my_table ( id SERIAL PRIMARY KEY, data JSONB ); INSERT INTO my_table (data) VALUES ('{"...
Advice
2 votes
2 replies
66 views

I'm building the backend for a platform that works similarly to a game. It includes a simple character customization system with a few properties that aren't particularly relevant to the product (...
2 votes
1 answer
80 views

We use Postgres jsonb_agg function in criteria query API like this: cb.function( JSONB_AGG_FUNCTION_NAME, JsonNode.class, someJoin.get(someField) ...
1 vote
3 answers
114 views

Assume I have many rows with jsonb data like this in their respective columns: { ..., "participants": { "one_uuid": { "id": "another_uuid", &...
2 votes
2 answers
113 views

I have a table with data on user applications. It contains several fields: employee_id text, date date, app_info jsonb. +-------------+------------+------------+ | employee_id | date | app_info ...
-2 votes
2 answers
125 views

Is there an operator that extracts xx from '{"xx":123}'::jsonb? In my data I always have only one key, so something like #>>'{$.*}' that meets this requirement, perhaps exists. PS: ...
1 vote
2 answers
429 views

I'm new to python and just came to a problem: i've set up a simple program to fetch some data from PostgreSQL database. They say that asyncpg library automatically converts JSONB data to Python ...
0 votes
0 answers
76 views

I'm an experienced programmer (mainly c# and mysql, then moved to javascript/JQuery and now more recently nextjs), but new to nextjs and postgres. I'm trying to insert an object into a JSONB column, ...
0 votes
0 answers
100 views

I'm working on a React Native app with Supabase as my backend. My products table has a style_tags column in JSONB array format, for example: [ { "tag": "streetwear", "weight&...
1 vote
1 answer
55 views

I have this query: SELECT organisation_id, count((j->>'invoiceId')) AS count, sum((j->>'advanceAmount')::numeric(20,4)) AS sum FROM runs LEFT JOIN jsonb_array_elements(...
2 votes
1 answer
71 views

I'm using this package to CRUD in a Postgres database https://github.com/porsager/postgres This is my query - it works fine to remove a index 0 or n... on a JSON array inside a jsonb column: UPDATE ...
2 votes
2 answers
121 views

I'm using this package to CRUD in a Postgres database https://github.com/porsager/postgres This is my query: POSGRES_SQL`UPDATE pedidos SET destinatario = jsonb_set( destinatario, '...
2 votes
2 answers
79 views

I seem to be having issues with the @> operator: CREATE TEMP TABLE test_jsonb (id SERIAL, data jsonb); INSERT INTO test_jsonb (data) VALUES ('[{"role_id": "1", "user_name&...

15 30 50 per page
1
2 3 4 5
...
178

AltStyle によって変換されたページ (->オリジナル) /