Class: Session

Session(db, state, withMutationsopt, batchTokenopt)

new Session(db, state, withMutationsopt, batchTokenopt)

Creates a new Session.

Parameters:
Name Type Attributes Description
db Database

a Database instance

state Object

the database state

withMutations Boolean <optional>

whether the session should mutate data

batchToken Object <optional>

used by the backend to identify objects that can be mutated.

Source:

Methods

getNextState()

Deprecated:
  • Access Session#state instead.
Source:

reduce()

Deprecated:
  • The Redux integration API is now decoupled from ORM and Session.
    See the 0.9 migration guide in the GitHub repo.
Source: