Interface Connection

Index

Methods

Methods

public beginTransaction(callback?: ErrorCallback): any

Parameters

Returns

any

public close(callback?: ErrorCallback): any

Parameters

Returns

any

public close(immediately: boolean, callback?: ErrorCallback): any

Parameters

Returns

any

public commit(callback?: ErrorCallback): any

Parameters

Returns

any

public query(query: string, callback?: QueryRawCallback): StreamEvents

Parameters

Returns

StreamEvents

public query(query: string, params: Array<any>, callback?: QueryRawCallback): StreamEvents

Parameters

Returns

StreamEvents

public queryRaw(query: string, callback?: QueryCallback): StreamEvents

Parameters

Returns

StreamEvents

public queryRaw(query: string, params: Array<any>, callback?: QueryCallback): StreamEvents

Parameters

  • query: string
  • params: Array<any>
  • callback?: QueryCallback optional

Returns

StreamEvents

public rollback(callback?: ErrorCallback): any

Parameters

Returns

any