Django Full Course - 7.0 - Multiple databases. Defining multiple databases, manually selecting db

Published: 23 November 2021
on channel: Django Full Course
1,960
26

In this lesson we will cover the topic of multiple databases. We will start by defining second database, and then I will show you how to manually choose db when we make queries:
Object.objects.using('db').all(),
Object.objects.using('db').create(),
object.save(using='db'),
Object.objects.using('db').get().delete().

More about basic queries -    • Django Full Course - 2.1 - Making que...  


Watch video Django Full Course - 7.0 - Multiple databases. Defining multiple databases, manually selecting db online without registration, duration hours minute second in high quality. This video was added by user Django Full Course 23 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,960 once and liked it 26 people.