defaults.name does not work
Open
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
### Issue
Not a big deal, really.
According to docs, I would expect the following code to work:
```js
const Foo = PouchDB.defaults({
name: 'foo'
})
const foo = new Foo()
```
but it throws with `Error: Missing/invalid DB name`.
### Info
- Environment: Node (using `pouchdb-node` package)
- Platform: Windows
Contributor guide
Assessment
This issue has not been assessed yet.