Skip to content

Commit

Permalink
2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sim-wangyan committed Nov 16, 2023
1 parent a21d625 commit 6668533
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
}
条件构建API (QB | QB.X)
1. and // AND 默认, 可省略,也可不省略
2. or // OR
1. or(sub) // or(sql)
2. or() // OR
3. eq // = (eq, 以及其它的API, 值为null,不会被拼接到SQL)
4. ne // !=
5. gt // >
Expand All @@ -131,8 +131,8 @@
14. isNull // is null
15. nonNull // is not null
16. x // 简单的手写sql片段, 例如 x("foo.amount = bar.price * bar.qty") , x("item.quantity = 0")
17. beginSub // 左括号
18. endSub // 右括号
17. sub(sql, sub) //
18. and(sub)

MAP查询结果构建API (QB.X)
19. distinct //去重
Expand Down

0 comments on commit 6668533

Please sign in to comment.