mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 09:38:26 +08:00
commit
2441da3c70
@ -51,7 +51,10 @@
|
||||
// 无需注册Mapper与APT/KSP即可查询操作
|
||||
val accountList: List<Account> = query {
|
||||
select(Account::id, Account::userName)
|
||||
where(Account::age.isNotNull) and { Account::age ge 17 } orderBy -Account::id
|
||||
whereWith {
|
||||
Account::age.isNotNull and (Account::age ge 17)
|
||||
}
|
||||
orderBy(-Account::id)
|
||||
}
|
||||
```
|
||||
执行的SQL:
|
||||
@ -102,3 +105,10 @@
|
||||
点击链接进入详情:
|
||||
- https://github.com/KAMO030/MyBatis-Flex-Kotlin#快速开始
|
||||
- https://gitee.com/mybatis-flex/mybatis-flex-kotlin#快速开始
|
||||
|
||||
## 更多使用
|
||||
|
||||
- 功能 1:[Bootstrap简化配置](https://gitee.com/mybatis-flex/mybatis-flex-kotlin/blob/main/docs/bootstrapExt.md)
|
||||
- 功能 2:[简单查询与扩展](https://gitee.com/mybatis-flex/mybatis-flex-kotlin/blob/main/docs/extensions.md)
|
||||
- 功能 3:[向量查询](https://gitee.com/mybatis-flex/mybatis-flex-kotlin/blob/main/docs/vec.md) (实验性)
|
||||
- 功能 4:[KSP](https://gitee.com/mybatis-flex/mybatis-flex-kotlin/blob/main/docs/ksp.md)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user