I noticed you are using string interpolating for your values in the SQL query, doesn’t this make you vulnerable to an injection attack?
Hi Trysm, you're absolutely right. To explains developer in the simplest way, I haven't included any best practices or validation. If it's production application then I will definitely use string interpolation and so many other stuff. Thanks for you're a suggestion.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.