Add the LocalDatabaseConfiguration prefix option

This commit is contained in:
Gilbert Consellado
2018-12-14 00:26:52 +08:00
parent ad5afdf536
commit 555c2aa1ee
+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 {