Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

groundDB: how to add another database? #201

Open
stekolshchykov opened this issue Sep 6, 2017 · 0 comments
Open

groundDB: how to add another database? #201

stekolshchykov opened this issue Sep 6, 2017 · 0 comments

Comments

@stekolshchykov
Copy link

stekolshchykov commented Sep 6, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant