Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateResult

Represents the result of an update/insert/delete operation on the database.

The number of rows updated is available with UpdateResult and any generated keys are available with UpdateResult.

Hierarchy

  • UpdateResult

Index

Constructors

constructor

  • Returns UpdateResult

  • Parameters

    Returns UpdateResult

Methods

getKeys

  • getKeys(): any[]
  • Get any generated keys

    Returns any[]

getUpdated

  • getUpdated(): number
  • Get the number of rows updated

    Returns number

setKeys

  • Get any generated keys

    Parameters

    • keys: any[]

    Returns UpdateResult

setUpdated

  • Get the number of rows updated

    Parameters

    • updated: number

    Returns UpdateResult

Generated using TypeDoc