Skip to content

pmsun-bruce/DBTool

Repository files navigation

Table of contents

Introduce

由于查询条件的不同,会导致近似的查询语句的泛滥。根据需求的变更,还会增加或修改现有查询语句。本类库用于生成查询条件语句,可以减少近似查询语句的数量,并且在大多数情况下,增加查询条件可以不用修改查询语句。

Due to the different query conditions, will lead to the proliferation of similar query. Depending on the requirements change, existing query statements are added or modified. This library is used to generate query conditional statements, can reduce the approximate number of query statements, and in most cases, increase the query conditions can not modify the query.

需要建立映射实体类的查询对象。

可搭配GenCodeTool进行使用

可自行扩展适应不同的数据库

Quick start

  • DBTool is src
  • DBTool.Test is sample for test.

Documentation

Please read the help document.

  • how to use the replaceholder.
  • how to make template
  • how to add another code language.
  • how to add another database choose.

Lisence

About

解决因查询条件不同而不得不增加新查询方法问题

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages