If I prepare / bind, do it, it will be two trips to the server.
I need a quote / escape function + security functions, but I do not need two trips to the server.
None of my requests will be re-executed on the same channel, so I have no performance penalty.
Is there any “local” implementation that takes a parameterized sql string and creates SQL that can be sent + executed once?
In other words, a local prepare + bind implementation that is not running on the mysql server?
Or do I not see the big picture?
THX
source
share