From 53e651c51a5e5cb2b1d6eed5c19ad07444b56090 Mon Sep 17 00:00:00 2001 From: u Date: Thu, 16 Feb 2023 14:56:37 +0800 Subject: [PATCH] 'fix' --- builder2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder2.go b/builder2.go index ddeb929..ba1d3cc 100644 --- a/builder2.go +++ b/builder2.go @@ -274,7 +274,7 @@ func toWhereSql(where interface{}) (string, error) { "and", } - ops := []string{"=", ">", ">=", "<", "<=", "<>", "!="} + ops := []string{"=", ">", ">=", "<", "<=", "<>", "!=", "like", "not like", "in", "not in", "between", "not between"} for k, v := range whereGjson.Map() { if v.Value() == nil {