Preparing search index...
The search index is not available
Deepkit
Deepkit
postgres
PostgresConnection
Class PostgresConnection
Hierarchy
SQLConnection
PostgresConnection
Index
Constructors
constructor
Properties
changes
connection
last
Returning
Rows
Methods
get
Changes
prepare
run
Constructors
constructor
new
Postgres
Connection
(
connectionPool
:
PostgresConnectionPool
, connection
:
PoolClient
, logger
?:
DatabaseLogger
, transaction
?:
DatabaseTransaction
, stopwatch
?:
Stopwatch
)
:
PostgresConnection
Parameters
connectionPool:
PostgresConnectionPool
connection:
PoolClient
Optional
logger:
DatabaseLogger
Optional
transaction:
DatabaseTransaction
Optional
stopwatch:
Stopwatch
Returns
PostgresConnection
Properties
Protected
changes
changes
:
number
= 0
connection
connection
:
PoolClient
last
Returning
Rows
last
Returning
Rows
:
any
[]
= []
Methods
get
Changes
get
Changes
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
prepare
prepare
(
sql
:
string
)
:
Promise
<
PostgresStatement
>
Parameters
sql:
string
Returns
Promise
<
PostgresStatement
>
run
run
(
sql
:
string
, params
?:
any
[]
)
:
Promise
<
void
>
Parameters
sql:
string
params:
any
[]
= []
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Modules
Deepkit
angular-
universal
api-
console-
api
api-
console-
module
app
broker
bson
core
core-
rxjs
create-
app
crypto
event
framework
framework-
debug-
api
http
injector
logger
mongo
mysql
orm
orm-
browser-
api
orm-
integration
postgres
rpc
rpc-
tcp
skeleton
sql
sqlite
stopwatch
template
type
type-
compiler
workflow
Postgres
Connection
constructor
changes
connection
last
Returning
Rows
get
Changes
prepare
run
Generated using
TypeDoc