CakePHP 3 - Where is custom datasource?

一笑奈何 提交于 2019-12-02 03:07:05

Just look at the code of any existing database driver and see how it is built? There is nothing in the book yet about how to create your own datasource.

ArangoDB seems to be yet another NoSQL DB, so take a look at how this Elastic Search datasource is done. By a quick look I think you can use it as a base for your implemention, they seem to be similar.

I was facing the same problem so I decided to write my own models in CakePHP 3.x. If you want you can use it from here. hope you like it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!