Django: Getting Started Transcripts
Chapter: Django ORM and Databases
Lecture: There's more to the ORM
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
There's lots more to the ORM I've only begun to scratch the surface. You can modify your models to specify the default query order.
0:10
Cause validations at the field level, cause validations at the database level, and do even more funky things with your queries such
0:19
as grouping results aggregation, think summing up some values, and returning dictionaries or individual fields instead of models.
0:30
There is a complete obstruction of querying the database as well. You can build special queries by creating query objects or if you need to fine tune
0:39
things, you can specify the SQL directly although you really want to know what you're doing before you try that.