TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SQLite triggers to track table changes

36 点作者 gwynforthewyn7 个月前

4 条评论

changing19997 个月前
I am just starting to explore SQLite in the context of personal projects and, more recently, Publii. So this is interesting. Didn&#x27;t know about triggers.<p>I found one statement confusing in this post: &quot;I can&#x27;t add a primary key after the fact to my inputs table; it&#x27;s not supported&quot;.<p>I have added PKs to existing tables before, what does the author mean by that?
评论 #41752256 未加载
评论 #41747688 未加载
gwynforthewyn7 个月前
This is me learning sqlite basics to start a more ambitious project tracking changes in grafana.
评论 #41747063 未加载
emrah7 个月前
DuckDB is another embedded db worth taking a look. It has some unique features, such as, you can fetch data from an api, extract data from the json response and insert into database via sql
hu37 个月前
Cool solution. I might use it on a small multi tenant web app to generate audit logs.<p>It has one SQLite database per tenant.