Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » PostgreSQL: JSONB Supporting by Upp
PostgreSQL: JSONB Supporting by Upp [message #52476] Fri, 04 October 2019 14:08
fermium is currently offline  fermium
Messages: 5
Registered: October 2018
Promising Member
It would be great if the jsonb type returned to C++ code as Value. Conversely, Value might be accepted into the database.
Now we have to use ParseJSON and StoreAsJson, which degrades performance

For example:
Vector<Value> row;
sql.Fetch(row);
ValueMap v = ParseJSON (row[0].ToString()); //this is the jsonb type in the database, but IsString(row[0]) is true
// ValueMap v = row[0]; // a good way, I think

[Updated on: Fri, 04 October 2019 14:22]

Report message to a moderator

Previous Topic: SqlArray crash
Next Topic: sql using sqlexp
Goto Forum:
  


Current Time: Thu Oct 17 12:05:02 CEST 2019

Total time taken to generate the page: 0.01528 seconds