Options
All
  • Public
  • Public/Protected
  • All
Menu
description

The main service for the state module. Responsible for querying and saving states of the application.

since

v0.1.0

Hierarchy

  • StateService

Index

Constructors

Methods

Constructors

Methods

  • This method updates exactly one document in a collection. The query is build using getQueryConfig and can thereby use any columns of the document.

    async

    Parameters

    • query: StateQuery

      The query configuration with sort, order, pageNumber, pageSize.

    • data: any

      The fields or data that has to be updated (will be added to $set: {}).

    Returns Promise<StateDocument>

    The updated states document.

Generated using TypeDoc