Change QueryResult.row and QueryResultRow public to make impl TryGetable for custom type possible #2454
deeper-thought
started this conversation in
Ideas
Replies: 1 comment
-
Hi, are you implementing pg Vector support for SeaORM? If so it's better for you to implement it inside SeaORM and open a PR |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
When try to add a new type mapping from a database datatype which is not included in sea-orm. I should impl sea_orm::TryGetable for my custom type.
But QueryResult.row is private and there is no func to get raw result. Then I cannot transform from raw result to my type.
So QueryResult.row and enum QueryResultRow should be pub.
Beta Was this translation helpful? Give feedback.
All reactions