public interface StatementDsl
| Modifier and Type | Method and Description |
|---|---|
SequenceDsl |
and()
Close the current statement
|
StatementDsl |
d(String columnName,
String printableValue)
Add a value to insert
|
List<InsertionDto> |
dtos()
Build the DTOs (Data Transfer Object) from this DSL,
closing it (ie, not usable any longer).
|
StatementDsl |
r(String columnName,
long insertionId) |
StatementDsl d(String columnName, String printableValue)
columnName - name of column in the tableprintableValue - the value that is going to be inserted, as
it would be printed as string.
This means that 5 is represented with "5",
whereas "5" with "'5'"StatementDsl r(String columnName, long insertionId)
columnName - name of column in the tableinsertionId - id of an insertion operation done previously.
This field represents a foreign key to that row,
where the primary key is dynamically computed by
the database (eg, auto-increment).SequenceDsl and()
List<InsertionDto> dtos()
Copyright © 2016–2024. All rights reserved.