Replies: 1 comment 3 replies
-
I think having an To begin, can you open a PR and add more doc test examples? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, a lot of "operator" methods are duplicated across
Expr
,SimpleExpr
andsea_orm::ColumnTrait
, but the list of methods is slightly different for each. The type conversions are also messy and non-obvious. I complained about this in #770 today. Writing generic code on top is especially difficult.I'd really like to:
Expr
/SimpleExpr
divideExprTrait
???) and reuse it for SeaORM columns (ColumnTrait: ExprTrait
???)I understand that this is a big change that won't happen soon (especially with SeaORM 1.0 on the horizon). But still, let's discuss this possibility
EDIT: Some other types that would benefit from implementing
ExprTrait
:Beta Was this translation helpful? Give feedback.
All reactions