Tokyo Cabinet 和 SQLite 兼容的接口吗?

发布于 2024-07-14 11:36:44 字数 218 浏览 5 评论 0原文

我想知道是否有人见过一个将 SQLite 和 Tokyo-Cabinet 抽象为同一个 API 的库。 基本上,我正在寻找一些可以让我使用 SQLite 进行测试和开发,然后转移到 TC 进行生产的东西。

无论如何,我具体使用的语言是 Lua,但我确信 Lua 不存在这样的库,因此用任何其他语言执行此操作的库也可以,因为我可以开发基于此,Lua 也有类似的东西。

I was wondering if anyone has seen a library that abstracts away SQLite and Tokyo-Cabinet to the same API. Basically I'm looking for something that will allow me to test and dev with SQLite, and later move to TC for production.

Anyways the language I'm using specifically is Lua, but I'm sure such a library doesn't exist for Lua, so a Library that does this in any other language is also ok since I can develop something similar for Lua based on that.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

溺渁∝ 2024-07-21 11:36:44

DataMapper 是 Merb 的默认 ORM(用 Ruby 编写),可能会有所帮助。 看一下用于 Tokyo-Cabinet 的实验性DataMapper 适配器 。 DataMapper 已经获得 SQLite3 支持,因此您可以比较两者。

DataMapper, the default ORM for Merb (written in Ruby), might help. Take a look at an experimental DataMapper adapter for Tokyo-Cabinet. DataMapper's already got SQLite3 support so you may be able to compare the two.

瑕疵 2024-07-21 11:36:44

我不确定,但由于 Carbonado 支持 RDBMS (Oracle) 和“持久 B 树” (BDB),它绝对可以同时支持两者。

I don't know for sure, but since Carbonado supports RDBMSs (Oracle) and "persisted b-trees" (BDB), it could definitely support both.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文