| Package | Description |
|---|---|
| me.saharnooby.lib.query.query | |
| me.saharnooby.lib.query.query.impl |
| Modifier and Type | Method and Description |
|---|---|
static Select |
Query.select(String... columns) |
| Modifier and Type | Method and Description |
|---|---|
Select |
Select.all()
Adds
* to the selected expression list. |
Select |
Select.col(@NonNull String name)
Adds a column to the selected expression list.
|
Select |
Select.desc()
Adds
DESC clause to the ORDER BY clause. |
Select |
Select.expr(@NonNull String expr,
Object... params)
Adds an SQL expression to the selected expression list.
|
Select |
Select.forUpdate()
Adds
FOR UPDATE clause to the end of the query. |
Select |
Select.from(@NonNull String tableName)
Sets the name of the table to select from.
|
Select |
Select.from(@NonNull String database,
@NonNull String tableName)
Sets names of the database and the table to select from.
|
Select |
Select.limit(long limit)
Adds
LIMIT limit clause to the query. |
Select |
Select.offset(long offset)
Adds
OFFSET offset clause to the query. |
Select |
Select.orderBy(@NonNull String column)
Adds
ORDER BY column clause to the query. |
Select |
Select.orderByExpr(@NonNull String expr,
Object... params)
Adds
ORDER BY expression clause to the query. |
Copyright © 2021. All rights reserved.