Django ORM - Performing raw SQL queries

Django ORM - Performing raw SQL queries

Very Academy

3 года назад

34,362 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

F Santos
F Santos - 22.05.2023 05:26

Thank you so much man.

Ответить
Rahul Pandey
Rahul Pandey - 07.10.2022 15:37

Hello sir,

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

Ответить
Edison Urquijo
Edison Urquijo - 12.04.2022 05:30

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

Ответить
Joalbert Palacios
Joalbert Palacios - 14.03.2022 22:26

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

Ответить
Sanjay Krish
Sanjay Krish - 22.02.2022 19:11

Thanks a lot. Not a big fan of ORM

Ответить
PEMIDI
PEMIDI - 27.10.2021 10:47

very useful

Ответить
Tushar Jangid
Tushar Jangid - 10.01.2021 14:55

Really well explained, thanks for the video🙌.

Ответить
Jenil Gandhi
Jenil Gandhi - 17.12.2020 09:27

def search_query(request):
print(request.POST['search_query'])
# 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

Ответить