Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
pg
Query
Class Query
Hierarchy
EventEmitter
Query
Index
Methods
addListener
emit
listeners
on
once
removeAllListeners
removeListener
setMaxListeners
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
emit
(
event
:
string
, args
?:
Array<any>
)
:
boolean
Parameters
event:
string
args?:
Array<any>
optional
Returns
boolean
public
listeners
(
event
:
string
)
:
Array<Function>
Parameters
event:
string
Returns
Array<Function>
public
on
(
event
:
""row""
, listener
:
(row: any, result?: "pg".ResultBuilder) => void
)
:
Query
Parameters
event:
""row""
listener:
(row: any, result?: "pg".ResultBuilder) => void
Returns
Query
public
on
(
event
:
""error""
, listener
:
(err: Error) => void
)
:
Query
Parameters
event:
""error""
listener:
(err: Error) => void
Returns
Query
public
on
(
event
:
""end""
, listener
:
(result: "pg".ResultBuilder) => void
)
:
Query
Parameters
event:
""end""
listener:
(result: "pg".ResultBuilder) => void
Returns
Query
public
on
(
event
:
string
, listener
:
Function
)
:
Query
Parameters
event:
string
listener:
Function
Returns
Query
public
once
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
removeAllListeners
(
event
?:
string
)
:
EventEmitter
Parameters
event?:
string
optional
Returns
EventEmitter
public
removeListener
(
event
:
string
, listener
:
Function
)
:
EventEmitter
Parameters
event:
string
listener:
Function
Returns
EventEmitter
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
pg
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
ClientConfig
ConnectionConfig
Defaults
QueryConfig
QueryResult
ResultBuilder
Client
Events
Query
addListener
emit
listeners
on
once
removeAllListeners
removeListener
setMaxListeners
connect
end