Skip to content

hocgin/AsSQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

AsSql

A simple SQL tool

Download

AsSQL.jar

Usage

        Condition cnd = Cnd.where("name", ">", "xiaoming")
                .andIn("age", 12, 56, 89)
                .and(new Wrap("weight", ">", "60").orIn("height", 160, 170, 180))
                .groupBy("id")
                .having(Cnd.where("12", ">", "12"))
                .desc("age");

        String sql = String.format("%s from %s where %s", "select *", "tableName", cnd.toSql());

Screenshot

image

About

🎱 SQL 对象化

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages