Re: Help deciding ORM VS raw SQL trade-off in Complex scenario

2024-07-14 Thread eric paul
In whatever way possible use the Django ORM for security purposes and also efficiency . I won't recommend to use Raw queries if you don't know what you are doing On Sun, Jul 14, 2024, 7:34 AM Enock Deghost wrote: > 🙄 > > On Sun, 14 Jul 2024, 6:15 am Krishnakant Mane, > wrote: > >> Hello. >> >>

Re: Help deciding ORM VS raw SQL trade-off in Complex scenario

2024-07-14 Thread Sam Brown
Im sure there are performance metrics out there to prove the ORM will not be the bottleneck. But I’ve never seen it slow things down when I’ve employed a timer on operation Also, ive recently ran into some of the limitations of drf and am looking into moving to an api that can be less coupled with

Re: Help deciding ORM VS raw SQL trade-off in Complex scenario

2024-07-14 Thread Gulshan Yadav
If you use ORM QUERY THEN IT IS VERY EASY TO SOLVE THIS ONE BY USING FOREIGN KEY OR MANY TO MANY RELATIONSHIP AND WHEN IF USER NOT RAGISTER THEN WE NEED TO ADD NON RAGISTER USER UNIQUE KEY FOR IDENTIFICATION AND AMOUNT WHICH ONE TAKE RECIEVE THE MONEY STORED IDENTIFICATION KEY IN PAYMENT TABLE AND

Je veux de l'aide sur mon erreur pour intégration de paypal

2024-07-14 Thread Baye SALIOU DIAW
Payment ID: 1L942492VB111070T, Payer ID: FVXL22PYEGX8J Payment not found: Failed. Response status: 404. Response message: Not Found. Error message: {"name":"INVALID_RESOURCE_ID","message":"Requested resource ID was not found.","information_link":" https://developer.paypal.com/docs/api/payments/#err

Re: Help deciding ORM VS raw SQL trade-off in Complex scenario

2024-07-14 Thread Krishnakant Mane
I am looking into ninja too. I guess I may be able to use SQLAlchemy seamlessly with it. Regards. On 7/14/24 21:35, Sam Brown wrote: Im sure there are performance metrics out there to prove the ORM will not be the bottleneck. But I’ve never seen it slow things down when I’ve employed a timer

Re: Help deciding ORM VS raw SQL trade-off in Complex scenario

2024-07-14 Thread Singhal._.paras
Bro , Just go for it ! On Sun, 14 Jul, 2024, 22:58 Krishnakant Mane, wrote: > I am looking into ninja too. > > I guess I may be able to use SQLAlchemy seamlessly with it. > > Regards. > On 7/14/24 21:35, Sam Brown wrote: > > Im sure there are performance metrics out there to prove the ORM will n

Re: Help deciding ORM VS raw SQL trade-off in Complex scenario

2024-07-14 Thread eric paul
According to your scenario an accounting system is a more complex system that requires high performance. It can be written in any language but as the system grows some programming languages will experience performance issues python being one of them take a case like Dropbox which was originally wri

Re: Help deciding ORM VS raw SQL trade-off in Complex scenario

2024-07-14 Thread ReynardSec
Hello, On Sunday 14 July 2024 at 09:03:38 UTC+2 eric paul wrote: In whatever way possible use the Django ORM for security purposes and also efficiency . Offtopic: There are certain issues worth keeping in mind, even if you are using an ORM: https://www.elttam.com/blog/plormbing-your-django-orm