# AsSQL **Repository Path**: hocgin/AsSQL ## Basic Information - **Project Name**: AsSQL - **Description**: :8ball: SQL 对象化 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-12-08 - **Last Updated**: 2023-08-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # AsSql > A simple SQL tool ## Download [AsSQL.jar](http://7xs6lq.com1.z0.glb.clouddn.com/github/jarAsSQL.jar) ## Usage ```java 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](http://7xs6lq.com1.z0.glb.clouddn.com/AsSQL.png)