couchdb-replicator:用PHP实现的CouchDB Replicator

时间:2024-05-30 15:56:17
【文件属性】:

文件名称:couchdb-replicator:用PHP实现的CouchDB Replicator

文件大小:23KB

文件格式:ZIP

更新时间:2024-05-30 15:56:17

PHP

couchdb复制器 用PHP实现的CouchDB Replicator 用法示例 require __DIR__ . '/vendor/autoload.php' ; use Doctrine \ CouchDB \ CouchDBClient ; use Relaxed \ Replicator \ ReplicationTask ; use Relaxed \ Replicator \ Replicator ; $ source = CouchDBClient :: create ([ 'dbname' => 'source' ]); $ target = CouchDBClient :: create ([ 'dbname' => 'target' ]); $ task = new ReplicationTask (); $ replicator = new Replicator


【文件预览】:
couchdb-replicator-master
----composer.json(480B)
----.travis.yml(286B)
----tests()
--------TestUtil.php(598B)
--------Functional()
--------ReplicationTest.php(28KB)
--------ReplicatorFunctionalTestBase.php(909B)
----src()
--------Replication.php(22KB)
--------README(45B)
--------ReplicationTask.php(6KB)
--------Replicator.php(3KB)
--------Exception()
----.gitignore(40B)
----phpunit.xml.dist(714B)
----README.md(633B)
----LICENSE.txt(18KB)

网友评论