检查上次更新 SQLite 数据库/表的时间 (PHP) [英] Check when an SQLite database/table was last updated (PHP)

查看:55
本文介绍了检查上次更新 SQLite 数据库/表的时间 (PHP)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法检查 SQLite 数据库上次更新的时间?
或者有什么方法可以针对特定的表执行此操作?

Is there any way to check when an SQLite db was last updated?
Alternatively is there any way to do it for a specific table?

由于 SQLite 是一个基于文件的数据库,我想我可以查看文件上的日期,但我不确定我是否可以依赖它.

Since SQLite is a file based db I guess I can look at the date on the file but I am not sure I can rely on that.

推荐答案

我知道这是一个旧帖子,但如果其他人读到这个,请看这个帖子:

I know this is an old post but in case someone else reads this please see this post:

Android 检查表的上次更新时间

这篇关于检查上次更新 SQLite 数据库/表的时间 (PHP)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆