CPC G06F 16/2379 (2019.01) [G06F 16/24568 (2019.01)] | 20 Claims |
1. A method comprising:
executing a database transaction, wherein executing a database transaction includes:
a database management system (DBMS) receiving a request to change a JavaScript Object Notation (JSON) object in a JSON object view comprising a JSON DUALITY VIEW, said JSON DUALITY VIEW defining an object schema for a JSON object in said JSON DUALITY VIEW, said DUALITY VIEW mapping base attributes of a plurality of base tables to fields of said object schema, said request specifying a change to at least one field of said JSON object;
generating a derived set of derived records derived from said JSON object according to said JSON DUALITY VIEW mapping said base attributes of said plurality of base tables to said fields of said object schema;
comparing said derived set of derived records to one or more base records stored in said plurality of base tables of a database;
based on said comparing of said derived set of derived records to said one or more base records, determining that one or more changes to said JSON object represent an update to one or more attributes of said one or more base records stored in said plurality of base tables of said database;
executing one or more change operations to make said one or more changes to said one or more base records; and
committing said one or more changes.
|