-
-
Notifications
You must be signed in to change notification settings - Fork 194
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
Remove panic from SimpleExpr and impl PgExpr and SqliteExpr traits #519
Remove panic from SimpleExpr and impl PgExpr and SqliteExpr traits #519
Conversation
e8c113b
to
1f71fca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!! Can we also have doc test on SqliteExpr
's method?
Oh, and I think the PR isn't completed yet? I don't see code for building query contains SqliteExpr
.
Ups, I forget push it... |
@billy1624 done. |
@billy1624 @tyt2y3 can you review, please?) |
This is a long one and I am going over it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really liked the simplification removing lots of Expr::xxx
After you merged it, can you also add some notes to the "Breaking changes" section? Basically, some methods are moved behind traits, and thus has to be imported. |
PR Info
New Features
trait Expression
trait PgExpr
with postgres specific method and operatortrait SqliteExpr
with sqlite specific method and operatorBreaking Changes
Expr::into_simple_expr
Changes
panic
fromSimpleExpr
CC @evgeniy-terekhin