java.lang.Object
org.litebridge.orm.api.merge.MergeInsertStep
- Direct Known Subclasses:
DtoMergeInsertStep
Step to specify the columns to insert into for a
WHEN NOT MATCHED INSERT clause.-
Constructor Summary
ConstructorsConstructorDescriptionMergeInsertStep(String table, LitebridgeContext litebridgeContext) Creates a newMergeInsertStepinstance. -
Method Summary
Modifier and TypeMethodDescriptionCreates aWHEN NOT MATCHED INSERTclause inserting values into the specified columns.Creates aWHEN NOT MATCHED INSERTclause inserting values into the specified columns.insert(ExpressionSpec... expressions) Creates aWHEN NOT MATCHED INSERTclause inserting values into columns specified using type-safe expressions.
-
Constructor Details
-
MergeInsertStep
Creates a newMergeInsertStepinstance.- Parameters:
table- the table to insert intolitebridgeContext- the Litebridge context
-
-
Method Details
-
insert
Creates aWHEN NOT MATCHED INSERTclause inserting values into columns specified using type-safe expressions.- Parameters:
expressions- the expressions specifying columns to insert into- Returns:
- step to specify the values to insert
-
insert
Creates aWHEN NOT MATCHED INSERTclause inserting values into the specified columns.- Parameters:
columns- the columns to insert into- Returns:
- step to specify the values to insert
-
insert
Creates aWHEN NOT MATCHED INSERTclause inserting values into the specified columns.- Parameters:
columns- the columns to insert into- Returns:
- step to specify the values to insert
-