Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Expurple
Copy link
Member

PR Info

New Features

Bug Fixes

Breaking Changes

Changes

  • Allow to specify an escape character in like and not_like.

The old signatures were insufficiently generic and didn't accept LikeExpr. See the linked discussion.

Changing the parameter type from T: Into<String> to T: IntoLikeExpr is a backwards-compatible, because the former is already generic and is a subtype of the latter (IntoLikeExpr is implemented for T: Into<String>).

It's also consistent with the corresponding ExprTrait methods.

@Expurple
Copy link
Member Author

The CI failures seem unrelated to my change:

cannot find type `IpNetwork` in this scope

@Expurple Expurple force-pushed the accept-into-like-expr branch from 7a9710b to 4d4a2c3 Compare March 31, 2025 18:11
@Expurple
Copy link
Member Author

Rebased to pick up the CI fix and trigger a re-run

Copy link
Member

@tyt2y3 tyt2y3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@tyt2y3 tyt2y3 merged commit 657a14a into SeaQL:master Apr 12, 2025
36 checks passed
@github-actions
Copy link

🎉 Released In 1.1.9 🎉

Thank you everyone for the contribution!
This feature is now available in the latest release. Now is a good time to upgrade!
Your participation is what makes us unique; your adoption is what drives us forward.
You can support SeaQL 🌊 by starring our repos, sharing our libraries and becoming a sponsor ⭐.

hjarraya pushed a commit to sambaclab/sea-orm that referenced this pull request Apr 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants