Method | Plugin-GraphQL | Plugin-Axios |
---|---|---|
Read multiple | Model.fetch(filter) |
Model.$fetch() |
Read single | Model.fetch(id) |
Model.$get() |
Create | record.$persist() , Model.persist() |
Model.$create() |
Update | record.$push() , Model.push() |
Model.$update() |
Delete | record.$destroy() , Model.destroy() |
Model.$delete() |
Model related custom | Model.customQuery() |
? |
Model unrelated custom | simpleQuery() / simpleMutation() |
? |
Last active
October 12, 2018 10:34
-
-
Save phortx/44d5c16ca494918ce562ccbc5cba84ec to your computer and use it in GitHub Desktop.
API specification for Vuex-ORM persistence plugins
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment