Skip to content

groundDB: how to add another database? #201

@stekolshchykov

Description

@stekolshchykov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions