Interesting to see what goes into an ORM library - but as others note, in my experience learning SQL ends up being better. The things that ORMs make easy are already pretty straightforward, and when you get to more advanced queries, the ORM ends up getting in the way and/or in order to use the ORM properly you have to understand SQL deeply anyways.
For learning SQL, my favorite resource to get started:
For learning SQL, my favorite resource to get started:
Become a SELECT star! https://wizardzines.com/zines/sql/
followed by
The Best Medium-Hard Data Analyst SQL Interview Questions https://quip.com/2gwZArKuWk7W