4 ms·
Or just use sqlalchemy...
by hownottowrite 5y ago
Or just use sqlalchemy...
- genericlemon24 5y agoI wrote an entire article about why I didn't do that: https://death.andgravity.com/own-query-builder#sqlalchemy-core-peewee-query-builder https://death.andgravity.com/own-query-builder#sqlalchemy-co... In general, SQLAlchemy is an excellent choice; in my specific case (single dev with limited time), the overhead would be too much (even with my previous experience with it).
- mynameismon 5y agoA curious question: why not Python's built in Sqlite3 package [0]? [0] https://docs.python.org/3/library/sqlite3.html https://docs.python.org/3/library/sqlite3.html
- genericlemon24 5y agoI am using exactly that; the query builder goes on top of it :)
- hownottowrite 5y agoThat’s a great article and a good way to go.
- genericlemon24 5y agoThank you!
- chooseaname 5y agoExactly. Because nobody should ever use their dev skills to build up their understanding of a tool by recreating some aspect of it.
- hownottowrite 5y agoExactly. Why bother when you can just write another to-do list manager. Seriously, it’s just a joke. Chill out.