Class ExpressionUtil
java.lang.Object
me.danwi.sqlex.core.query.expression.ExpressionUtil
表达式辅助类
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetParameterPlaceholder(Object value) 获取参数占位符static SQLParameterBindtoSQL(Expression expression) 表达式转换成SQL,并保留参数绑定信息
-
Constructor Details
-
ExpressionUtil
public ExpressionUtil()
-
-
Method Details
-
getParameterPlaceholder
获取参数占位符- Parameters:
value- 参数值- Returns:
- 占位符
-
toSQL
表达式转换成SQL,并保留参数绑定信息- Parameters:
expression- 表达式树- Returns:
- 参数bind信息
-