semsol / arc2

ARC RDF Classes for PHP
Other
331 stars 92 forks source link

Introduce prepared statements #111

Open k00ni opened 6 years ago

k00ni commented 6 years ago

Prepared statements are a good way to counter SQL injections. After PDO was introduced (#109), we can transform ARC2 to provide prepared statements. Another advantage of this feature is speed up, if you use the same query multiple times.

Any thoughts?