Closed leedrum closed 3 months ago
This doesn't need to be corrected. The code evolved over time when new lectures are added. If you want to see the exact code as in the recorded video, you must look at the history: https://github.com/techschool/simplebank/commits/master/db/sqlc/account_test.go In the first commit, the code looks exactly as in the video.
I do not agree with that test because we don't cover the pagination cases. btw, I think we can create another function to get a list account that doesn't depend on the owner. I will close this PR.
OR
to the SQL query