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

clarify .save vs .add #50

Closed
max-mapper opened this issue Apr 20, 2013 · 3 comments
Closed

clarify .save vs .add #50

max-mapper opened this issue Apr 20, 2013 · 3 comments

Comments

@max-mapper
Copy link
Contributor

is the only difference between store.add and store.save that you can specify an id with save?

@gr2m
Copy link
Member

gr2m commented Apr 21, 2013

We gonna take store.save out of the documentation soon. store.save(type, id, properties) overwrites an object entirely, you usually don't want to do that. Instead use store.add(type, properties) and store.update(type, properties, update)

@gr2m
Copy link
Member

gr2m commented Apr 21, 2013

@espy can you take care of this please? I think you have it on your list anyway, just wanna be sure

@espy
Copy link
Member

espy commented May 21, 2013

eek, took care of this a while ago. Thanks!

@espy espy closed this as completed May 21, 2013
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

3 participants