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

Clicking the 'createRecord' link on this page 404’d #721

Closed
chrism opened this issue May 11, 2020 · 1 comment
Closed

Clicking the 'createRecord' link on this page 404’d #721

chrism opened this issue May 11, 2020 · 1 comment

Comments

@chrism
Copy link

chrism commented May 11, 2020

In fact none of these three links in this section seem to work for me

https://api.emberjs.com/ember-data/release/modules/@ember-data%2Fstore

createRecord is used for creating new records on the client side. This will return a new record in the created.uncommitted state. In order to persist this record to the backend, you will need to call record.save().

push is used to notify Ember Data's store of new or updated records that exist in the backend. This will return a record in the loaded.saved state. The primary use-case for store#push is to notify Ember Data about record updates (full or partial) that happen outside of the normal adapter methods (for example SSE or Web Sockets).

pushPayload is a convenience wrapper for store#push that will deserialize payloads if the Serializer implements a pushPayload method.

Thanks

@Gaurav0
Copy link
Contributor

Gaurav0 commented May 11, 2020

Duplicate of #672

@Gaurav0 Gaurav0 marked this as a duplicate of #672 May 11, 2020
@Gaurav0 Gaurav0 closed this as completed May 11, 2020
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