Bug: SQLAlchemyAsyncQueryRepository.list() returns only first column values #338
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
enhancement
New feature or request
Description
According to the documentation example,
SQLAlchemyAsyncQueryRepository.list()
should return a list of tuples with values.Instead, it returns a list of values from the first column of the query.
This happens because in the method
SQLAlchemyAsyncQueryRepository.list()
,scalars()
is used to obtain the results. It seems that using theall()
method would be more appropriate, but I'm not sure.I really like the project and want to help. If others agree, I can work on this :)
URL to code causing the issue
No response
MCVE
Steps to reproduce
Screenshots
No response
Logs
No response
Package Version
0.26.2
Platform
The text was updated successfully, but these errors were encountered: