Merge pull request #31364 from zer09/master

Add the LocalDatabaseConfiguration prefix option for pouchdb-core
This commit is contained in:
Nathan Shively-Sanders
2018-12-18 13:18:34 -08:00
committed by GitHub
+5
View File
@@ -573,6 +573,11 @@ declare namespace PouchDB {
* ex_ new PouchDB("dbName", {size:100});
*/
size?: number;
/**
* A special constructor option, which appends a prefix to the database name
* and can be helpful for URL-based or file-based LevelDOWN path names.
*/
prefix?: string;
}
interface RemoteDatabaseConfiguration extends CommonDatabaseConfiguration {