Django ORM - Performing raw SQL queries

preview_player
Показать описание
The Django ORM series covers a range of common functions that you will perform on a database with Django. In this tutorial we introduce the idea of running your own SQL queries, thus bypassing some of the Django ORM features. This is an introductory guide to help you get start with the general concepts and structure of building raw SQL queries.

00:00 Introduction

Code Repository 7

✨ Support us - join us as a very academy member

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

👍👍Follow us on Facebook

👍👍👍Follow use on Twitter:
Рекомендации по теме
Комментарии
Автор

Such an excellent peace of teaching!! Thanks to much for the class!

treblaoj
Автор

Hello sir,

Kindly guide on how to take Boolean searches from user forms and implement Raw queries

MrRahul
Автор

May i know how to perform insert and delete using this raw method

dharunap
Автор

hello, first i want to thank you because these totorials have been useful for me, and i want to ask you if it's possible to use stored procedure or function instead of raw sql to load data in a model. thanks in advance

URKI
Автор

Really well explained, thanks for the video🙌.

tusharjangid
Автор

def search_query(request):

# x=likes.objects.raw("Select Like_id, likes.Post_id from home_likes")
# Operational Error: No column found Post_id
x=likes.get_treding()
print(len(x))
return render(request, 'search/search_query_page.html')
CAN YOU SOLVE THIS

jenilgandhi