How do i sanitize a string for database query?

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jul 21 10:58:53 PDT 2015


On Tuesday, 21 July 2015 at 17:23:30 UTC, ddos wrote:
> How do i sanitize a string for database query?
> Is there some builtin function?
>
> thx :)

Use prepared statements instead.

https://en.wikipedia.org/wiki/Prepared_statement


More information about the Digitalmars-d-learn mailing list