Meteor-Community-Packages / ground-db

GroundDB is a thin layer providing Meteor offline database and methods
https://atmospherejs.com/ground/db
MIT License
572 stars 77 forks source link

groundDB: how to add another database? #201

Open StekolschikovV opened 6 years ago

StekolschikovV commented 6 years ago

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