-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
the id is not passed to the insert callback #27
Comments
a workaround is to use
|
Umm, seems strange, its just regular meteor.collection |
Btw. I'll have a closer look at this package soon - I'm finalizing a project where I created a very small offline db that stores in both local storage and on a S3 server (its a package Meteor client only app in cordova auth via Facebook) |
Thanks @drgorb the workaround seems to work great. Did not know that the _id could be set in advance, this must be a new(ish) feature in Meteor. |
still a strange issue :) it should be basic meteor. could you try the new ground:db? @drgorb I've refactored so it uses async localstorage adapter - but we could in theory create a package for an other adapter and have grounddb use that instead. |
please test this issue with ground:db at v0.0.3 |
Cant |
Tracking it in #48 |
When using
collection.insert(myNewObject, function(err, id){...
the id attribute isundefined
The text was updated successfully, but these errors were encountered: