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

save ('ID',{docdata}, function does not work #323

Open
foxjazz opened this issue Jan 14, 2017 · 1 comment
Open

save ('ID',{docdata}, function does not work #323

foxjazz opened this issue Jan 14, 2017 · 1 comment

Comments

@foxjazz
Copy link

foxjazz commented Jan 14, 2017

I found that trying to use this function with the ID, it would always save with a generated id.
In order to get it to work on a new document, I had to add the _ID in the document with it populated.

@Minori-Akizuki
Copy link

I found problem like this.
My case is try to save Immediately after create DB.
Maybe its have a few time to create DB, then it has not done create DB when I tried save.

I think the solution is fix create() to need callback.

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