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

LocalDB Needs Documentation / API Reference #186

Open
JoyalToTheWorld opened this issue Jun 9, 2016 · 1 comment
Open

LocalDB Needs Documentation / API Reference #186

JoyalToTheWorld opened this issue Jun 9, 2016 · 1 comment

Comments

@JoyalToTheWorld
Copy link

I have been trying to play with LocalDB with virtually no success. The docs on this component consist of a paragraph detailing 'dbConfig' object and that's it.

How do I clear/destroy an existing instance?
Can I mixin 'Cache', or 'Trackable'?
Is 'Model' a required property?
Can I set a custom idProperty?

@hankchiutw
Copy link

Here is the minimum config I've tested to initiate a LocalDB store:

const store = new LocalDB({
  dbConfig: { stores: {}, version: 1 },
  storeName: 'message',
});

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