Currently using the framework TP6, I need to batch execute statements other than queries, but TP6's execute does not seem to be able to batch execute statements (such as: execute("Update statement first; Update statement second;") This will report an error ) , I want PDO's exec, but I don't know how to write it in the TP framework.
There is a detailed introduction to pdo in the php manual