Preparing search index...
The search index is not available
Deepkit
Deepkit
postgres
PostgresPersistence
Class PostgresPersistence
Hierarchy
SQLPersistence
PostgresPersistence
Index
Constructors
constructor
Properties
connection
Pool
placeholder
Position
platform
Methods
batch
Update
get
InsertSQL
get
Placeholder
Symbol
populate
Auto
Increment
Fields
reset
Placeholder
Symbol
Constructors
constructor
new
Postgres
Persistence
(
platform
:
DefaultPlatform
, connectionPool
:
PostgresConnectionPool
, session
:
DatabaseSession
<
any
>
)
:
PostgresPersistence
Parameters
platform:
DefaultPlatform
connectionPool:
PostgresConnectionPool
session:
DatabaseSession
<
any
>
Returns
PostgresPersistence
Properties
connection
Pool
connection
Pool
:
PostgresConnectionPool
Protected
placeholder
Position
placeholder
Position
:
number
= 1
Protected
platform
platform
:
DefaultPlatform
Methods
batch
Update
batch
Update
<
T
>
(
classSchema
:
ReflectionClass
<
T
>
, changeSets
:
DatabasePersistenceChangeSet
<
T
>
[]
)
:
Promise
<
void
>
Type Parameters
T
extends
OrmEntity
Parameters
classSchema:
ReflectionClass
<
T
>
changeSets:
DatabasePersistenceChangeSet
<
T
>
[]
Returns
Promise
<
void
>
Protected
get
InsertSQL
get
InsertSQL
(
classSchema
:
ReflectionClass
<
any
>
, fields
:
string
[]
, values
:
string
[]
)
:
string
Parameters
classSchema:
ReflectionClass
<
any
>
fields:
string
[]
values:
string
[]
Returns
string
Protected
get
Placeholder
Symbol
get
Placeholder
Symbol
(
)
:
string
Returns
string
Protected
populate
Auto
Increment
Fields
populate
Auto
Increment
Fields
<
T
>
(
classSchema
:
ReflectionClass
<
T
>
, items
:
T
[]
)
:
Promise
<
void
>
Type Parameters
T
Parameters
classSchema:
ReflectionClass
<
T
>
items:
T
[]
Returns
Promise
<
void
>
Protected
reset
Placeholder
Symbol
reset
Placeholder
Symbol
(
)
:
void
Returns
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
Persistence
constructor
connection
Pool
placeholder
Position
platform
batch
Update
get
InsertSQL
get
Placeholder
Symbol
populate
Auto
Increment
Fields
reset
Placeholder
Symbol
Generated using
TypeDoc