开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜