× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2017-06-28T17:54:22Z  · last modified 2017-07-05T20:20:41Z

Table Data Editor: Updating JSON value has missing '


Dev
Thomas Conrad
tomconrad
QA
Jenny Nishimura
JennyNishimura
Priority Minor
Complexity Unknown
Component DB - PostgreSQL
Version 19.0
Version: 18.0.17-1
Build #: 54886
Build Date: 2017-Jun-26 02:44:01 PM
 
Table Data Editor: Updating JSON value has missing '
 
1. Navigate to to PostgreSQL v9.6 server ar 1.193
2. Take Edit Table Data for Tom database for table named tde in the public schema
3. Update pageName and update to abcd instead of abc
4. Go to Primary Key tab and select a primary key - either c1 or c2
5. Go to Preview SQL
6. You can see that in the WHERE clause after = there is a missing '
 
In Version: 18.0.17, the ' was appearing correctly. See attached screenshot
 
SQL generated in 18.0.17-1
 
UPDATE "public"."tde"
SET "c1"='{ "pageInfo" : { "pageName" : "abcd" ,"pagePic" : "http://example.com/content.jpg" } ,"posts" : [{"post_id" : 12345, "actor_id" : "544","page_id" : 977}]}'
WHERE "c1"={ "pageInfo" : { "pageName" : "abc" ,"pagePic" : "http://example.com/content.jpg" } ,"posts" : [{"post_id" : 12345, "actor_id" : "544","page_id" : 977}]} AND "c2"={"name": "Book the First", "author": {"last_name": "White", "first_name": "Bob"}}
GO
 
SQL generated in 18.0.17
 
UPDATE "public"."tde"
SET "c1"='{ "pageInfo" : { "pageName" : "abcd" ,"pagePic" : "http://example.com/content.jpg" } ,"posts" : [{"post_id" : 12345, "actor_id" : "544","page_id" : 977}]}'
WHERE "c1"='{ "pageInfo" : { "pageName" : "abc" ,"pagePic" : "http://example.com/content.jpg" } ,"posts" : [{"post_id" : 12345, "actor_id" : "544","page_id" : 977}]}'
GO

 

 

4 attachments

Issue #15356

Closed
Fixed
Resolved 2017-06-29T21:58:23Z
 
 
Completion
No due date
Fixed Build ADS 19.0.0-alpha-69
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017