File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ The following table lists all operations you can use and what they to:
7373CRUD | Vuex Only | Persist to GraphQL API
7474--| -- | --
7575** R** EAD | getters[ 'find'] & getters[ 'findAll'] | dispatch('fetch')
76- ** C** REATE | dispatch('create) | dispatch('persist')
76+ ** C** REATE | dispatch('create' ) | dispatch('persist')
7777** U** PDATE | dispatch('save') | dispatch('push')
7878** D** ELETE | dispatch('delete') | dispatch('destroy')
7979
8080
8181## Eager Loading
8282
83- All ` belongsTo ` related entities are eager loaded when fetch is called. All other related entities have to be added
84- to a static field in the model called ` eagerLoad ` to have them eagerly loaded with fetch.
83+ All ` belongsTo ` and ` hasOne ` related entities are eager loaded when fetch is called. All other related entities have to
84+ be added to a static field in the model called ` eagerLoad ` to have them eagerly loaded with fetch.
8585
8686Example:
8787
@@ -101,6 +101,9 @@ class User extends Model {
101101}
102102```
103103
104+
105+ ## Caching
106+
104107Apollo-Client caches same queries. To bypass caching set the second param of the ` fetch ` action to ` true ` :
105108
106109```
You can’t perform that action at this time.
0 commit comments