package com.landian.sql.jpa.sql;



/**
 * 选择单元建造厂(限制建造器)
 * to be continute
 */
public class SelectUnitRestrictions{
	/**
	 * 自定义
	 */
	public static SelectUnit sql(String sql){
		return new SelectUnitSQL(sql);
	}
	/**
	 * 字段
	 */
	public static SelectUnit column(String column){
		return new SelectUnitColumn(column);
	}
	
}

@@ -315,13 +315,110 @@
 umn);%0A%09%7D
+%0A%0A%09/**%0A%09 * %E8%87%AA%E5%AE%9A%E4%B9%89%0A%09 */%0A%09public static SelectUnit count()%7B%0A%09%09return new SelectUnitSQL(%22count(*)%22);%0A%09%7D
 %0A%09%0A%7D%0A

add factory method to SelectUnitRestrictions -> SelectUnit count()