Interface DB

Hierarchy

Index

Properties

Methods

Properties

public bubbleParent: boolean

public file: File

public lastInsertRowId: number

public name: string

public rowsAffected: number

Methods

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public applyProperties(props: Dictionary)

Parameters

public close()

public execute(sql: string, vararg?: string): ResultSet

Parameters

  • sql: string
  • vararg?: string optional

Returns

ResultSet

public execute(vararg?: Array<String>): ResultSet

Parameters

  • vararg?: Array<String> optional

Returns

ResultSet

public execute(vararg?: any): ResultSet

Parameters

  • vararg?: any optional

Returns

ResultSet

public execute(sql: string, vararg?: Array<Object>): ResultSet

Parameters

  • sql: string
  • vararg?: Array<Object> optional

Returns

ResultSet

public fireEvent(name: string, event: Dictionary)

Parameters

public getBubbleParent(): boolean

Returns

boolean

public getFile(): File

Returns

File

public getLastInsertRowId(): number

Returns

number

public getName(): string

Returns

string

public getRowsAffected(): number

Returns

number

public remove()

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setLastInsertRowId(lastInsertRowId: number)

Parameters

  • lastInsertRowId: number

public setName(name: string)

Parameters

  • name: string

public setRowsAffected(rowsAffected: number)

Parameters

  • rowsAffected: number