Meteor-Community-Packages / Meteor-Community-Packages/ground-db
groundDB: how to add another database?
- Dominant language
- JavaScript
- Stars
- 569
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
I use groundDB:
`tasks = new Ground.Collection(null)`
I need add another database. I try add new database:
```
tasks = new Ground.Collection(null)
history = new Ground.Collection(null)
```
But i get error:
> Uncaught Error: Storage.localStorage “null” is already in use
If add name:
```
Details = new Ground.Collection("details");
Details.insert({ "title": '111' })
```
And try:
`Details.find({}).fetch()`
in console empty array []
how to add another database?
[git](https://github.com/StekolschikovV/TTD/blob/master/client/main/main.js)

Contributor guide
Research direction
Start with the referenced client/main/main.js and the Ground.Collection usages shown in the issue. Reproduce the storage error with multiple collections, then inspect the GroundDB collection and storage documentation or tests to determine the supported setup. Done should clearly explain or verify how multiple databases or collections are configured.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100