International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 177 - Number 37 |
Year of Publication: 2020 |
Authors: Dušan Petković |
10.5120/ijca2020919881 |
Dušan Petković . Implementation of JSON Update Framework in RDBMSs. International Journal of Computer Applications. 177, 37 ( Feb 2020), 35-39. DOI=10.5120/ijca2020919881
The existing SQL/JSON standard specifies the way how queries can be performed, but in order to reach the full functionality for data representation and as a sharing format, it needs to support several additional features. One of the most important missing features is the facility to perform updates on the content of JSON documents. In this article we discuss how update operations for JSON data have been implemented in relational database systems and compare these implementations in relation to their scope and coverage of our framework, which comprises the set of primitive update operations. SQL Server uniformly supports all implemented operations with the JSON_MODIFY function, but the syntax of the second argument of the function is not uniform. The syntax for PostgreSQL update operations is rather awkward and the implementation is not uniform. On the other hand, PostgreSQL supports the full update operation in the same way as this paper proposes. MySQL implemented all update primitives specified in the framework.