Replace mybatis, sagacity-sqltoy-5.2.48 release

Open source address:

Update details

1. Unify field processing IUnifyFieldsHandler adds database time for createTime, updateTime and other time fields to avoid terminal time inconsistency

2. Fix the defect that an extra blank is added when the parameter of @loop() contains quotation marks

3. Establish a cache mechanism for sql generation such as object storage, avoid dynamic organization of sql each time, and improve performance

Features of sqltoy:

  • The core construction idea of ​​sqltoy

  • The core points of sqltoy compared with mybatis (plus): query statement writing, readability, maintainability

  • Object crud is the foundation, but sqltoy has targeted improvements: update, updateSaveFetch, updateFetch, etc.

  • sqltoy's cache translation greatly reduces table associations and simplifies sql, making your query performance geometrically improved

Explain why sqltoy kills mybatis (plus) in seconds

  • Extreme pagination also helps you achieve a significant improvement in query performance
  1. Fast paging: @fast () realizes fetching single-page data first and then associated query, which greatly improves the speed
  2. Paging optimizer: page-optimize makes paging query from two times to 1.3~1.5 times (the total number of records with the same query condition can be realized in a cache without repeated query within a certain period
  3. The process of sqltoy's pagination to fetch total records is not a simple select count (1) from (original sql); but an intelligent judgment whether to become: select count (1) from 'from statement after', and automatically remove the outermost order by
  4. sqltoy supports parallel query: parallel="true", query the total number of records and single-page data at the same time, greatly improving performance
Explain why sqltoy kills mybatis (plus) in seconds
 
  • Convenient Cross-Database Statistical Computing: Data Rotation
Explain why sqltoy kills mybatis (plus) in seconds
  • Convenient cross-database statistical calculation: Infinitus group statistics (including summary and averaging)
Explain why sqltoy kills mybatis (plus) in seconds
  • Convenient cross-database statistical calculation: year-on-year comparison
Explain why sqltoy kills mybatis (plus) in seconds

Guess you like

Origin www.oschina.net/news/241395/sagacity-sqltoy-5-2-48-released