Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
TypeOrmConnectionWrapper
Class TypeOrmConnectionWrapper
Hierarchy
TypeOrmConnectionWrapper
Implements
IConnection
Index
Constructors
constructor
Properties
_connection
_fn
inc
name
storage
Ref
usage
$INC
_LOCK
Accessors
connection
lock
manager
Methods
close
connect
destroy
get
Storage
Ref
get
Usage
initialize
is
Only
Memory
is
Opened
is
Single
Connection
reload
reset
usage
Dec
usage
Inc
Constructors
constructor
new
Type
Orm
Connection
Wrapper
(
s
:
TypeOrmStorageRef
, conn
?:
Connection
)
:
TypeOrmConnectionWrapper
Parameters
s:
TypeOrmStorageRef
Optional
conn:
Connection
Returns
TypeOrmConnectionWrapper
Properties
_connection
_connection
:
Connection
_fn
_fn
:
any
inc
inc
:
number
= ...
Private
name
name
:
string
= null
storage
Ref
storage
Ref
:
TypeOrmStorageRef
usage
usage
:
number
= 0
Static
$INC
$INC
:
number
= 0
Static
Private
_LOCK
_LOCK
:
{}
= {}
Type declaration
[
k:
string
]:
Semaphore
Accessors
connection
get
connection
(
)
:
Connection
Returns
Connection
lock
get
lock
(
)
:
Semaphore
Returns
Semaphore
manager
get
manager
(
)
:
EntityManager
Returns
EntityManager
Methods
close
close
(
)
:
Promise
<
IConnection
>
Returns
Promise
<
IConnection
>
connect
connect
(
)
:
Promise
<
TypeOrmConnectionWrapper
>
Open a connection
Returns
Promise
<
TypeOrmConnectionWrapper
>
destroy
destroy
(
)
:
void
Returns
void
get
Storage
Ref
get
Storage
Ref
(
)
:
TypeOrmStorageRef
Returns
TypeOrmStorageRef
get
Usage
get
Usage
(
)
:
number
Returns
number
initialize
initialize
(
)
:
void
Returns
void
is
Only
Memory
is
Only
Memory
(
)
:
boolean
Returns
boolean
is
Opened
is
Opened
(
)
:
boolean
Is the connection opened
Returns
boolean
is
Single
Connection
is
Single
Connection
(
)
:
boolean
Returns
boolean
reload
reload
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
reset
reset
(
)
:
void
Returns
void
usage
Dec
usage
Dec
(
)
:
number
Returns
number
usage
Inc
usage
Inc
(
)
:
number
Returns
number
Modules
Activator
Bootstrap
Startup
index
Type
Orm
Connection
Wrapper
constructor
_connection
_fn
inc
name
storage
Ref
usage
$INC
_LOCK
connection
lock
manager
close
connect
destroy
get
Storage
Ref
get
Usage
initialize
is
Only
Memory
is
Opened
is
Single
Connection
reload
reset
usage
Dec
usage
Inc
Generated using
TypeDoc
Open a connection