Class Statement

Index

Methods

Methods

public all(callback?: (err: Error, rows: any[]) => void): Statement

Parameters

  • callback?: (err: Error, rows: any[]) => void optional

Returns

Statement

public all(params?: Array<any>): Statement

Parameters

  • params?: Array<any> optional

Returns

Statement

public bind(callback?: (err: Error) => void): Statement

Parameters

  • callback?: (err: Error) => void optional

Returns

Statement

public bind(params?: Array<any>): Statement

Parameters

  • params?: Array<any> optional

Returns

Statement

public each(callback?: (err: Error, row: any) => void, complete?: (err: Error, count: number) => void): Statement

Parameters

  • callback?: (err: Error, row: any) => void optional
  • complete?: (err: Error, count: number) => void optional

Returns

Statement

public each(params?: Array<any>): Statement

Parameters

  • params?: Array<any> optional

Returns

Statement

public finalize(callback?: (err: Error) => void): Statement

Parameters

  • callback?: (err: Error) => void optional

Returns

Statement

public get(callback?: (err: Error, row: any) => void): Statement

Parameters

  • callback?: (err: Error, row: any) => void optional

Returns

Statement

public get(params?: Array<any>): Statement

Parameters

  • params?: Array<any> optional

Returns

Statement

public reset(callback?: (err: Error) => void): Statement

Parameters

  • callback?: (err: Error) => void optional

Returns

Statement

public run(callback?: (err: Error) => void): Statement

Parameters

  • callback?: (err: Error) => void optional

Returns

Statement

public run(params?: Array<any>): Statement

Parameters

  • params?: Array<any> optional

Returns

Statement