A method and system for operating database based on json statement
A database and statement technology, applied in the database field, can solve the problems of low SQL statement efficiency, time-consuming and laborious debugging process, high error rate, etc., and achieve the effect of improving development work, work efficiency and product quality
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] In this embodiment, it is necessary to pre-establish JSON (JavaScript Object Notation) and database table corresponding expression rules as JSON description rules, use the description rules to describe the database table relationship diagram, and use the description rules to describe data requests; the database table relationship The graph can be obtained directly based on the database, or based on other third-party tools.
[0040] In this embodiment, a description rule is used to describe the relationship diagram of the database table, which is specifically as follows: The description rule defined in this embodiment can be understood as the relationship between the structure defined in JSON and the database table. An expression established. figure 2 Give an example database table relationship diagram, for figure 2 The relational diagram of the database table, the corresponding description rules between JSON and the database table are established in advance, and the ...
Embodiment 2
[0116] This embodiment provides a system for operating databases based on JSON statements, and its specific implementation structure is as follows image 3 As shown, specifically, the following modules may be included: a first description module 31, a second description module 32, and an operation module 33; wherein,
[0117] The first description module 31: it is used to create an expression for querying the table relationship of the SQL statement according to the database table relationship diagram described by the JSON description rule and according to the data request described by the JSON description rule;
[0118] The second description module 32: it is used for creating the expression of the screening condition of the table relationship of the query SQL statement according to the data request described by the JSON description rule and the expression of the table relationship;
[0119] Operation module 33: it is used to generate SQL statements to operate the database acc...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com