Universal tree structure data query method and device
Patent Information
- Authority / Receiving Office
- CN Β· China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- JIANGSU SUNING LOGISTICS CO LTD
- Publication Date
- 2020-01-17
- Estimated Expiration
- Not applicable Β· inactive patent
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of computer technology, in particular to a general tree structure data query method and device. Background technique
[0002] There are many kinds of relational databases commonly used, including Oracle database, mysql database, sqlServer database and db2 database. Among them, Oracle database and sqlServer database need to use specific functions and syntax to support recursive query, and mysql database and db2 database need to use custom Functions can support recursive queries. It can be seen that the existing relational databases have different methods for querying tree-structured data, and they all rely on recursive query strategies to realize the query of subtree data. As we all know, recursive query needs to query the database multiple times. In order to obtain the query set of sub-nodes, especially for tree structures with a large number of sub-nodes, more database performance is consumed. Contents of the inven...