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
Watch video Django ORM - How to perform a NOT query on a database - including Q Objects online, duration hours minute second in high quality that is uploaded to the channel Very Academy 20 October 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 10,452 times and liked it 219 visitors.