Reputation: 125496
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 .
Upvotes: 2
Views: 948
Reputation: 73292
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.
Upvotes: 1