php pdo how time take the query
i am using php with pdo , when i run a mysql query, is this possible to get a value of the query time its take
i know i can do microtime()
before and after, i want to know if there something build-in in the pdo.
thanks .
Not without extending the existing PDO implementation. There are a few libraries which do this. However, I do not believe there is anything within the current implementation of PDO that can accomplish this.
精彩评论