CakePHP 3 - Where is custom datasource?

前端 未结 2 1085
广开言路
广开言路 2021-01-21 01:08

I have a large number of CakePHP 2 web applications, many of them use remote data over the custom DataSource. I\'m reading the documentation of CakePHP 3, but I can not find ins

2条回答
  •  渐次进展
    2021-01-21 01:53

    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.

提交回复
热议问题