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

Multiple stores #12

Open
benson-jala opened this issue Dec 7, 2017 · 2 comments
Open

Multiple stores #12

benson-jala opened this issue Dec 7, 2017 · 2 comments

Comments

@benson-jala
Copy link

How to create multiple stores?

@thduttonuk
Copy link

This is what I do.

 this.db1 = localForage.createInstance({
        driver: localForage.INDEXEDDB,
        name: 'MyDb',
        version: 1.0,
        storeName: 'Store1',
      });

 this.db2 = localForage.createInstance({
        driver: localForage.INDEXEDDB,
        name: 'MyDb',
        version: 1.0,
        storeName: 'Store2',
      });

@benson-jala
Copy link
Author

Thank you for immediate reply

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

2 participants