Replies: 2 comments 5 replies
-
Have a look at |
Beta Was this translation helpful? Give feedback.
0 replies
-
The thing is that I need to know the match count and based on it, get the first or discard it. I wanted to know if there is a way to manually convert a row into model value. I want to avoid a costly conversion of may items that I won't use.
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It works for me to
query_as
but I want to use insteadquery
andfetch_all
, then check the row count and optionally convert the first row into the type. This is not working for me usinginto
. Is there any builtin public way to do this?Beta Was this translation helpful? Give feedback.
All reactions