Class SDB

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

getItem

  • getItem(tagoRunURL: string, key: string): Promise<any>
  • Retrieves a custom parameter of a Run user. The Run user is identified by the token in the constructor.

    Parameters

    • tagoRunURL: string

      TagoIO Run url without http

    • key: string

      Identifier of the parameter

    Returns Promise<any>

removeItem

  • removeItem(tagoRunURL: string, key: string): Promise<any>
  • Delete a custom parameter of a Run user. The Run user is identified by the token in the constructor.

    Parameters

    • tagoRunURL: string

      TagoIO Run url without http

    • key: string

      Identifier of the parameter

    Returns Promise<any>

setItem

  • setItem(tagoRunURL: string, key: string, value: string): Promise<any>
  • Creates or updates a custom parameter of a Run user. The Run user is identified by the token in the constructor.

    Parameters

    • tagoRunURL: string

      TagoIO Run url without http

    • key: string

      Identifier of the parameter

    • value: string

      Value of the parameter

    Returns Promise<any>