有没有可以支持查询通知的ORM?

发布于 2024-09-02 14:05:22 字数 196 浏览 1 评论 0原文

是否有一种 ORM 可以轻松支持 SQL 的查询通知,以便当一个客户端更新某些数据时,其他客户端会收到警报他们的数据现已过时?

理想情况下,我想要一个能够管理对象身份本身的 ORM - 也就是说 - 它刷新已加载的对象,而不是总是创建新对象。

这样的事存在吗?

如果没有 - 您能否推荐一种模式/技术来允许客户端自动检测数据更改?

Is there an ORM out there which easily supports SQL's query notifications, so that when one client updates some data, other clients are alerted to the fact that their data is now outdated?

Ideally I'd like an ORM which manages object identity itself - that is - it refreshes already loaded objects as opposed to always creating new ones.

Does such a thing exist?

If not - could you recommend a pattern / technique for allowing clients to automatically detect data changes?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文