PDO to use or not to use?
Posted: Sun Feb 01, 2009 1:38 pm
Hello,
I've been trying to decide whether to use PDO or not. The only reason why I would use is simple: prepared statements. I could make my own system with those SQL commands, but like MySQL says:
I've been trying to decide whether to use PDO or not. The only reason why I would use is simple: prepared statements. I could make my own system with those SQL commands, but like MySQL says:
Do you think there's a big difference of using and not using that new binary protocol? Is it worth switching to PDO, because of it?There are three new SQL statements to support this: PREPARE, EXECUTE, and DEALLOCATE PREPARE. This doesn't take advantage of the new binary protocol, so it should only be used for testing or when a native API isn't available.