fix: DuckDB REGEXP_MATCHES 函数名改为大写
This commit is contained in:
@@ -33,8 +33,8 @@ func DialectOptions() *db.SQLDialectOptions {
|
|||||||
|
|
||||||
// regexp_matches(col, pattern) 做部分匹配,等价于 MySQL REGEXP
|
// regexp_matches(col, pattern) 做部分匹配,等价于 MySQL REGEXP
|
||||||
do.BooleanFunctionLookup = map[exp.BooleanOperation][]byte{
|
do.BooleanFunctionLookup = map[exp.BooleanOperation][]byte{
|
||||||
exp.RegexpLikeOp: []byte("regexp_matches"),
|
exp.RegexpLikeOp: []byte("REGEXP_MATCHES"),
|
||||||
exp.RegexpILikeOp: []byte("regexp_matches"),
|
exp.RegexpILikeOp: []byte("REGEXP_MATCHES"),
|
||||||
}
|
}
|
||||||
|
|
||||||
return do
|
return do
|
||||||
|
|||||||
Reference in New Issue
Block a user