| Package | Description |
|---|---|
| me.saharnooby.lib.query.query | |
| me.saharnooby.lib.query.query.impl |
| Modifier and Type | Method and Description |
|---|---|
static Insert |
Query.insertInto(@NonNull String tableName) |
static Insert |
Query.insertInto(@NonNull String database,
@NonNull String tableName) |
| Modifier and Type | Method and Description |
|---|---|
Insert |
Insert.ignore()
Adds an
IGNORE clause to the query. |
Insert |
Insert.onDuplicateKeyUpdateExcept(String... keys)
Adds
ON DUPLICATE KEY UPDATE clause with all values added using
value*() methods, exclusing colums marked as keys. |
Insert |
Insert.value(@NonNull String column,
@NonNull Object value)
Adds a value to be inserted for the specified column.
|
Insert |
Insert.valueExpr(@NonNull String column,
@NonNull String expr,
Object... params)
Adds an SQL expression value to be inserted for the specified column.
|
Insert |
Insert.valueNull(@NonNull String column)
Adds a
NULL value to be inserted for the specified column. |
Insert |
Insert.valueNullable(@NonNull String column,
Object value)
If specified value is null, adds a
NULL value for the specified column,
othwerise adds specified value as a value for the column. |
Copyright © 2021. All rights reserved.