Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SQLOptions

Represents the options one can use to customize the unwrapped connection/statement/resultset types

Hierarchy

Index

Constructors

constructor

  • Returns SQLOptions

  • Parameters

    Returns SQLOptions

Methods

getAutoGeneratedKeysIndexes

  • getAutoGeneratedKeysIndexes(): any[]
  • Returns any[]

getCatalog

  • getCatalog(): string
  • Returns string

getFetchDirection

  • Returns FetchDirection

getFetchSize

  • getFetchSize(): number
  • Returns number

getMaxRows

  • getMaxRows(): number
  • Returns number

getQueryTimeout

  • getQueryTimeout(): number
  • Returns number

getResultSetConcurrency

getResultSetType

  • Returns ResultSetType

getSchema

  • getSchema(): string
  • Returns string

getTransactionIsolation

isAutoGeneratedKeys

  • isAutoGeneratedKeys(): boolean
  • Returns boolean

isReadOnly

  • isReadOnly(): boolean
  • Returns boolean

setAutoGeneratedKeys

  • setAutoGeneratedKeys(autoGeneratedKeys: boolean): SQLOptions
  • Parameters

    • autoGeneratedKeys: boolean

    Returns SQLOptions

setAutoGeneratedKeysIndexes

  • setAutoGeneratedKeysIndexes(autoGeneratedKeysIndexes: any[]): SQLOptions
  • Parameters

    • autoGeneratedKeysIndexes: any[]

    Returns SQLOptions

setCatalog

  • Parameters

    • catalog: string

    Returns SQLOptions

setFetchDirection

  • Parameters

    Returns SQLOptions

setFetchSize

  • Parameters

    • fetchSize: number

    Returns SQLOptions

setMaxRows

  • Parameters

    • maxRows: number

    Returns SQLOptions

setQueryTimeout

  • setQueryTimeout(queryTimeout: number): SQLOptions
  • Parameters

    • queryTimeout: number

    Returns SQLOptions

setReadOnly

  • Parameters

    • readOnly: boolean

    Returns SQLOptions

setResultSetConcurrency

setResultSetType

  • Parameters

    Returns SQLOptions

setSchema

  • Parameters

    • schema: string

    Returns SQLOptions

setTransactionIsolation

Generated using TypeDoc