Skip to main content

Interface: StoredProcedureResult<T>

Defined in: src/procedure/StoredProcedureResult.ts:1

Type Parameters​

Type ParameterDefault type
Tunknown

Properties​

records​

records: T

Defined in: src/procedure/StoredProcedureResult.ts:5

The primary record set or array of record sets returned by the procedure.


outputParams​

outputParams: Record<string, unknown>

Defined in: src/procedure/StoredProcedureResult.ts:10

Key-value map of named OUTPUT / INOUT parameters.


returnValue​

returnValue: number

Defined in: src/procedure/StoredProcedureResult.ts:16

The integer return value of the procedure (commonly supported in SQL Server / Sybase). Defaults to 0 if not supported or not set.


rowsAffected​

rowsAffected: number

Defined in: src/procedure/StoredProcedureResult.ts:21

Total number of rows affected by modifications in the procedure.