英文:
OnChange on a table is available in golang driver - rethinkDB?
问题
我正在使用RethinkDB和Golang,对这两个技术和数据库完全不熟悉。
注意
Golang驱动程序 - 我正在使用这个驱动程序连接rethinkDB。
问题
这个驱动程序中没有表的onChange
功能。
注意
- OnChange功能在rethinkDB中是可用的。
请问有没有支持rethinkDB onChange
的golang驱动程序的建议。
提前感谢。
英文:
I am working on RethinkDB and Golang and completely new to these two Technologies/Database
.
Note
GOLang driver - I am using this driver for connecting rethinkDB.
Problem
There is no onChange
on a table functionality in this driver.
Note
- OnChange functionality is available in rethinkDB.
Any suggestion of golang driver which supports rethinkDB onChange
.
Thanks in advance
答案1
得分: 4
抱歉回复晚了,我没有经常检查StackOverflow。
GoRethink实际上确实支持Changefeeds。不幸的是,目前文档有点不完整,我希望能尽快解决这个问题,但在那之前,我建议你查看一下测试部分。希望那能给你一个如何使用它们的想法。
https://github.com/dancannon/gorethink/blob/master/query_table_test.go#L215
如果你对Changefeeds或驱动程序的任何其他问题有进一步的疑问,请告诉我。
英文:
Sorry for the delayed reply I dont check StackOverflow as often as I should.
GoRethink actually does offer support for Changefeeds. Unfortunately the documentation is currently a bit lacking and I hope to work soon, until then I recommend having a look at the tests. Hopefully that should give you an idea on how to use them.
https://github.com/dancannon/gorethink/blob/master/query_table_test.go#L215
If you have any further questions regarding change feeds or any other issues with the driver let me know.
答案2
得分: -2
那个Go
驱动程序是由第三方提供的,正如你所指出的,他们似乎还没有添加对changefeeds的支持。它托管在GitHub上,你可以提交一个增强请求。他们的存储库最近有活动,所以有希望他们会添加这个功能。
英文:
That Go
driver is provided by a third party and as you note they do not seem to have yet added support for changefeeds. It is hosted on GitHub, so you could file an enhancement request. There is recent activity in their repository, so there is hope that they will add it.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论