Skip to content

Commit 014155a

Browse files
committed
Fixed SimpleFieldILike not using ILIKE
1 parent 85313c6 commit 014155a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ members = [
1111

1212
[package]
1313
name = "rorm"
14-
version = "0.9.1"
14+
version = "0.9.2"
1515
edition = "2021"
1616
repository = "https://github.com/rorm-orm/rorm"
1717
authors = ["gammelalf", "myOmikron <git@omikron.dev>"]

src/fields/traits/simple.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ where
147147
value: Rhs,
148148
) -> Self::IliCond<I> {
149149
Binary {
150-
operator: BinaryOperator::Like,
150+
operator: BinaryOperator::ILike,
151151
fst_arg: Column(field),
152152
snd_arg: Self::into_value(value),
153153
}
@@ -160,7 +160,7 @@ where
160160
value: Rhs,
161161
) -> Self::NilCond<I> {
162162
Binary {
163-
operator: BinaryOperator::NotLike,
163+
operator: BinaryOperator::NotILike,
164164
fst_arg: Column(field),
165165
snd_arg: Self::into_value(value),
166166
}

0 commit comments

Comments
 (0)