0
Django ORM vs Raw SQL
How faster RAW SQL queries in comparison with Django ORM model? What're the pros and cons of each method? Can you bring the examples from your experience, where you used RAW SQL in your Django Project?
1 Odpowiedź
0
https://docs.djangoproject.com/en/3.2/topics/db/sql/
"Explore the ORM before using raw SQL!"
That was pretty helpful to me. After I learned SQL, I wanted to use it in django-projects, but then I realized, that RAW SQL is less safe than the ORM.
Hope that helps!