Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SqlResult<T>

An interface that represents the execution result of an operation on the database server.

Type parameters

  • T

Hierarchy

Index

Methods

columnDescriptors

  • Get the column descriptors in the SqlResult.

    Returns ColumnDescriptor

columnsNames

  • columnsNames(): string
  • Get the names of columns in the SqlResult.

    Returns string

next

  • Return the next available result or null, e.g for a simple query that executed multiple queries or for a batch result.

    Returns SqlResult<T>

property

  • Get the specific property with the specified PropertyKind.

    Type parameters

    • V

    Parameters

    Returns V

rowCount

  • rowCount(): number
  • Get the number of the affected rows in the operation to this SqlResult.

    Returns number

size

  • size(): number
  • Get the number of rows retrieved in the SqlResult.

    Returns number

value

  • value(): T
  • Get the execution result value, the execution result type may vary such as a [rowSet] RowSet or even a string.

    Returns T

Generated using TypeDoc