From e114413e0dad401b3981f2de7d6fc074361243cb Mon Sep 17 00:00:00 2001 From: Huan Du Date: Mon, 23 Sep 2024 22:06:29 +0800 Subject: [PATCH] update doc for IsDistinctFrom and IsNotDistinctFrom --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d0f9e1e..c957fb9 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,8 @@ There are many methods for building conditions. - [Cond.Any](https://pkg.go.dev/github.com/huandu/go-sqlbuilder#Cond.Any): `field op ANY (value1, value2, ...)`. - [Cond.All](https://pkg.go.dev/github.com/huandu/go-sqlbuilder#Cond.All): `field op ALL (value1, value2, ...)`. - [Cond.Some](https://pkg.go.dev/github.com/huandu/go-sqlbuilder#Cond.Some): `field op SOME (value1, value2, ...)`. +- [Cond.IsDistinctFrom](https://pkg.go.dev/github.com/huandu/go-sqlbuilder#Cond.IsDistinctFrom) `field IS DISTINCT FROM value`. +- [Cond.IsNotDistinctFrom](https://pkg.go.dev/github.com/huandu/go-sqlbuilder#Cond.IsNotDistinctFrom) `field IS NOT DISTINCT FROM value`. - [Cond.Var](https://pkg.go.dev/github.com/huandu/go-sqlbuilder#Cond.Var): A placeholder for any value. There are also some methods to combine conditions.