Meteor-Community-Packages / ground-db

GroundDB is a thin layer providing Meteor offline database and methods

Home Page:https://atmospherejs.com/ground/db

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

groundDB: how to add another database?

StekolschikovV opened this issue · comments

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