Tokyo Cabinet 和 SQLite 兼容的接口吗?
我想知道是否有人见过一个将 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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.
我不确定,但由于 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.