Django ORM - How to perform a NOT query on a database - including Q Objects

Описание к видео Django ORM - How to perform a NOT query on a database - including Q Objects

The Django ORM series covers a range of common functions that you will perform on a database with Django. In this tutorial we take a look at creating NOT queries or Django exclude as it is known on multiple select statements. We look at a basic example of exclude as well as using Q objects to build a NOT query. In addition we take a look at the SQL that powers the queries and look to see how we can see the performance of our queries.

00:00 Introduction
01:31 Starting to code the NOT example
04:58 Discussion on using Django operators (more than/less than)
08:01 Q Object example

Code Repository 5
https://github.com/veryacademy/django...

✨ Support us - join us as a very academy member
   / @veryacademy  

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
   / @veryacademy  

👍👍Follow us on Facebook
  / veryacademycom-113232103670580  

👍👍👍Follow use on Twitter:
  / veryacademy  

Комментарии

Информация по комментариям в разработке