|
|
|
|
|
by hultner
3648 days ago
|
|
I was thinking the same thing, and does people really still build SQL-strings programmatically in the server application? Seems like this bad practice should be dead by now, not only does it open up for injection attacks but it also prevents the database from optimizing the query by precompiling, data aggregation and building smarter execution plans. |
|
[1]: https://developer.wordpress.org/reference/classes/wpdb/prepa...