Hi dear folks, (cheers to all ) this is my first message so pls forgive me for the possible mistakes.
I am creating an application which will use DRF to send and get data connected to a database…
Kindly my questions are:
- Should I use orm while doing POST requests, I mean after getting the data from the user should I modelize the data first and do the query with orm way or should I just go with the raw sql query ?
- I believe the same answer applies for GET method also, right?
- What about if it was an already existing external database (which was not modelled already). In that case shouldn’t we be sure that all data we are interacting is being modeled by our application? If so - how?
Thank you very much in advance/ (cheers again)