drupflare/worker - v1.0.4
Preparing search index...
db/pg-exec
PgClient
Type Alias PgClient
the client, as a seam: the gate drives this over a stub rather than opening a socket
type
PgClient
=
{
connect
()
:
Promise
<
void
>
;
end
()
:
Promise
<
void
>
;
query
(
text
:
string
,
values
?:
unknown
[]
,
)
:
Promise
<
{
rowCount
:
number
|
null
;
rows
:
Record
<
string
,
unknown
>
[]
}
>
;
}
Index
Methods
connect
end
query
Methods
connect
connect
()
:
Promise
<
void
>
Returns
Promise
<
void
>
end
end
()
:
Promise
<
void
>
Returns
Promise
<
void
>
query
query
(
text
:
string
,
values
?:
unknown
[]
,
)
:
Promise
<
{
rowCount
:
number
|
null
;
rows
:
Record
<
string
,
unknown
>
[]
}
>
Parameters
text
:
string
Optional
values
:
unknown
[]
Returns
Promise
<
{
rowCount
:
number
|
null
;
rows
:
Record
<
string
,
unknown
>
[]
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
connect
end
query
drupflare/worker - v1.0.4
Loading...
the client, as a seam: the gate drives this over a stub rather than opening a socket