Configurable Database Query Method
A query method and database technology, applied in the field of software development, can solve the problem of inflexible way of modifying code, and achieve the effect of satisfying data query requirements and improving reusability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment
[0017] The configurable database query method in the embodiment of the present invention includes the following steps:
[0018] Step 1. Query and obtain all tables connected to the database, and display them through the web front end;
[0019] Step 2. Select the corresponding table among all the displayed tables;
[0020] Step 3, setting the query fields and query conditions of the table;
[0021] Step 4. When accessing the backend via url, submit the set query fields and query conditions to the backend;
[0022] Step 5, the backend generates a sql query statement corresponding to the url according to the received query field and query condition, wherein the generated sql query statement is preferably stored in an xml structure, and may also be stored in other structures;
[0023] Step 6. When the user accesses the corresponding url, parse the sql query statement of the url, and return to step 3 when the query result of the url needs to be changed.
[0024] Using the soluti...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More