this post was submitted on 21 Jun 2023
728 points (96.9% liked)

Programmer Humor

32571 readers
287 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 3rdBlueWizard 2 points 1 year ago

Technically, a parameterized query is just doing sanitization for you. Or does escaping not count as sanitizing?

Although nothing wrong with sanitizing yourself then using parameterized queries. Never know if the API has a bug.