Hello list,
Is there a way to retrieve the Update_time of a table using Zend_Db? I looked at the metadata array that the info() returns but didn't see anything there. At the moment I am using the following code:
$q = "SHOW TABLE STATUS WHERE Name = '$table'";
$data = $db->fetchRow($query);
$updated = strtotime($data['Update_time']);
Any pointers would be more than appreciated.
Thanks
Nikolaos Dimopoulos
--
The contents of this message may contain confidential or privileged information and is intended solely for the recipient(s). Use or distribution to and by any other party is not authorized. If you are not the intended recipient, copying, distribution or use of the contents of this information is prohibited.
没有评论:
发表评论