Added db.isPartitioned(dbName) and extended db.create(dbName, params) to allow creation of partitioned database (#128)

This commit is contained in:
Jeffrey Layanto 2020-07-24 23:30:07 +10:00 committed by GitHub
parent 8fb3c67085
commit 97ec00e958
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 6 deletions

5
API.md
View file

@ -19,9 +19,10 @@
* [changes(dbName, params, filter)](https://github.com/redgeoff/slouch/blob/master/API.md#changesdbname-params-filter)
* [changesArray(dbName, params, filter)](https://github.com/redgeoff/slouch/blob/master/API.md#changesarraydbname-params-filter)
* copy(fromDBName, toDBName)
* create(dbName)
* create(dbName, params)
* destroy(dbName)
* exists(dbName)
* isPartitioned(dbName)
* replicate(params)
* get(dbName)
* view(dbName, viewDocId, view, params)
@ -70,8 +71,8 @@
* system
* get()
* isCouchDB1()
* supportPartitioned()
* reset(exceptDBNames)
* supportPartitioned()
* updates(params)
* updatesNoHistory(params)
* updatesViaGlobalChanges(params)