public class Insert extends SqlPart
Modifier and Type | Method and Description |
---|---|
Insert |
add(String... columnNames) |
Insert |
add(String columnName,
Object value) |
Insert |
addRows(int rowCount,
boolean copyLastRowValues) |
void |
collectParameterValues(List<Object> values) |
void |
collectSqlFragment(CodeWriter writer) |
InsertRow |
getLastRow() |
List<InsertRow> |
getRows() |
String |
getTable() |
Insert |
nextRow() |
Insert |
nextRow(boolean copyLastRowValues) |
Insert |
setPretty(boolean pretty) |
getParameterValues, getSqlFragment, isPretty, printSqlParts, toString
public Insert(String table)
public String getTable()
public Insert addRows(int rowCount, boolean copyLastRowValues)
public Insert nextRow(boolean copyLastRowValues)
public Insert nextRow()
public InsertRow getLastRow()
public void collectSqlFragment(CodeWriter writer)
collectSqlFragment
in class SqlPart
public void collectParameterValues(List<Object> values)
collectParameterValues
in class SqlPart
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.