Redux-ORM

Redux-ORM

  • Getting Started
  • Docs
  • API
  • GitHub

›API Reference

Introduction

  • Getting Started
  • Installation

Basics

  • Quick Start
  • Relational Fields
  • Reducers
  • Selectors
  • Usage with React

Advanced

  • Complex Selectors
  • Custom Reducer

API Reference

  • API Reference
  • ORM
  • Model
  • QuerySet
  • Session
  • Fields
  • Redux

Session

Kind: global class

  • Session
    • new Session(db, state, [withMutations], [batchToken])
    • getNextState()
    • reduce()

new Session(db, state, [withMutations], [batchToken])

Creates a new Session.

ParamTypeDescription
dbDatabase

a Database instance

stateObject

the database state

[withMutations]Boolean

whether the session should mutate data

[batchToken]Object

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

getNextState()

Deprecated

Kind: instance method of Session

reduce()

Deprecated

Kind: instance method of Session

Last updated on 22.9.2019
← QuerySetFields →
  • new Session(db, state, [withMutations], [batchToken])
  • getNextState()
  • reduce()
Redux-ORM
Docs
Getting StartedQuick StartAdvanced scenarios
Community
Stack OverflowGitter
More
GitHubStar
Copyright © 2020 Redux-ORM documentation authors.
Some icons copyright Font Awesome.