mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
update docs
This commit is contained in:
parent
a6cfa7e611
commit
f8ef1331d3
@ -184,7 +184,7 @@ SELECT SUM(`id` * `age`) AS `total_x` FROM `tb_account`
|
||||
|
||||
```java
|
||||
QueryWrapper query = new QueryWrapper()
|
||||
.select(ACCOUNT.ID.add(ACCOUNT.ID.add(100)).as("x100"))
|
||||
.select(ACCOUNT.ID.add(ACCOUNT.AGE.add(100)).as("x100"))
|
||||
.from(ACCOUNT);
|
||||
|
||||
String sql = query.toSQL();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user