Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Purpose of SQLAlchemy over MYSQL CONNECTOR PYTHON

I am new to working with databases and couldn't find any relevant answers for this. What are the uses of SQLAlchemy over MYSQL CONNECTOR for python.

like image 699
sushi Avatar asked Oct 26 '25 07:10

sushi


1 Answers

I do not have much experience with MYSQL CONNECTOR for Python. However, from what I know SQLAlchemy primarily uses ORM (Object-Relational Mapping) in order to abstract the details of handling the database. This can help avoid errors some times (and also introduce possibly introduce others). You might want to have a look at the ORM technique and see if it is for you (but don't use it as a way to avoid learning SQL). Generally, ORMs tend not to be as scalable as raw SQL either.

like image 89
tintins7a6164 Avatar answered Oct 28 '25 20:10

tintins7a6164



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!