As I am learning django and MySql , I am creating a web page and want to use PlSql queries like triggers and procedure in my website using django. I have made connection of MySql and django. Can anyone help me how to proceed further. Thank you in advance!
Asked
Active
Viewed 182 times
1 Answers
0
You can run as SQL query like:
from django.db import connection
with connection.cursor() as cursor:
cursor.execute("SELECT add(1,2);")
resp= cursor.fetchall()

DARK_C0D3R
- 2,075
- 16
- 21