WithAsManyStepsWithImplpublic interface InsertIntoFirstStep
| Modifier and Type | Method | Description |
|---|---|---|
InsertAsStep |
insertInto(java.lang.String table) |
INSERT INTO statement.
|
InsertAsStep |
insertInto(Expression table) |
INSERT INTO statement.
|
InsertAsStep insertInto(java.lang.String table)
insertInto("book")
.as("b")
.columns("id", "name")
.overridingSystemValue()
.values(1, "test")
.onConflict()
.onConstraint("index_name")
.doNothing()
.sql()
table - target table nameInsertAsStep insertInto(Expression table)
insertInto(asName("book"))
.as("b")
.columns("id", "name")
.overridingSystemValue()
.values(1, "test")
.onConflict()
.onConstraint("index_name")
.doNothing()
.sql()
table - target table name