| Package | Description |
|---|---|
| org.teasoft.bee.osql |
Function about Object SQL.
|
| org.teasoft.bee.osql.api |
The main and most commonly used API interfaces.
|
| org.teasoft.bee.osql.chain |
Interface for SQL with chain programming.
|
| Modifier and Type | Method and Description |
|---|---|
static Op |
Op.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Op[] |
Op.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Condition |
Condition.having(FunctionType functionType,
String field,
Op op,
Number value)
having
eg: having(FunctionType.MIN, "field", Op.ge, 60)-->having min(field)>=60 |
Condition |
Condition.op(String field,
Op op,
Object value)
Add a expression condition.
|
Condition |
Condition.opOn(String field,
Op op,
Number value)
The expression will correspond to: table1 JoinType table2 on field Op value
eg: opOn("table2.valid",Op.eq,1) table1 left join table2 on table1.id=table2.id and table2.valid=1 it is different from where part: table1 left join table2 on table1.id=table2.id where valid=1 |
Condition |
Condition.opOn(String field,
Op op,
String value)
The expression will correspond to: table1 JoinType table2 on field Op value
eg: opOn("table2.valid",Op.eq,"1") table1 left join table2 on table1.id=table2.id and table2.valid='1' it is different from where part: table1 left join table2 on table1.id=table2.id where valid='1' |
Condition |
Condition.opWithField(String field1,
Op op,
String field2)
Add a expression condition.
|
| Modifier and Type | Method and Description |
|---|---|
Update |
Update.op(String field,
Op op,
Number value) |
Select |
Select.op(String field,
Op op,
Number value) |
Update |
Update.op(String field,
Op op,
String value) |
Select |
Select.op(String field,
Op op,
String value) |
Copyright © 2024. All rights reserved.