Skip to content

Blanket-implement PgExpr and SqliteExpr #914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 24, 2025
Merged

Conversation

Expurple
Copy link
Member

PR Info

  • Closes
  • Dependencies:
  • Dependents:

New Features

Bug Fixes

Breaking Changes

  • Blanket-implemented SqliteExpr and PgExpr for T where T: ExprTrait.

    This was planned in Wanted breaking changes in `sea_query` #795.
    Makes a lot of sense. Database-specific operators should be available on all types of expressions.

    However, existing impls in the user code may no longer compile if the type implements ExprTrait.
    The right fix is to delete such implementations.

Changes

@Expurple Expurple requested a review from tyt2y3 July 23, 2025 12:20
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.

nice!

@Expurple Expurple merged commit 78135f3 into SeaQL:master Jul 24, 2025
20 checks passed
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