public class UpdateSetBuilder extends Object
The main functionality is create set part of update statement from Attribute set
Constructor and Description |
---|
UpdateSetBuilder() |
Modifier and Type | Method and Description |
---|---|
UpdateSetBuilder |
addBind(SQLParam param)
Add column name and value pair.
|
UpdateSetBuilder |
addBind(SQLParam param,
String expression)
Add column name and expression value pair.
|
void |
addValue(SQLParam param)
Add the update value.
|
List<SQLParam> |
getParams() |
String |
getSQL()
Build the set SQL.
|
public UpdateSetBuilder addBind(SQLParam param)
param
- valuepublic UpdateSetBuilder addBind(SQLParam param, String expression)
param
- the value to bindexpression
- the expressionpublic String getSQL()
public void addValue(SQLParam param)
param
- Copyright © 2018–2025. All rights reserved.