Session
Kind: global class
new Session(db, state, [withMutations], [batchToken])
Creates a new Session.
Param | Type | Description |
---|---|---|
db | Database | a Database instance |
state | Object | the database state |
[withMutations] | Boolean | whether the session should mutate data |
[batchToken] | Object | used by the backend to identify objects that can be |
getNextState()
getNextState()
Deprecated
Kind: instance method of Session
reduce()
reduce()
Deprecated
Kind: instance method of Session