Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
DistributedStorageEntityController
Class DistributedStorageEntityController
Hierarchy
DistributedStorageEntityController
Implements
IEntityController
Index
Constructors
constructor
Properties
factory
Methods
aggregate
find
find
One
for
Class
name
remove
save
update
Constructors
constructor
new
Distributed
Storage
Entity
Controller
(
)
:
DistributedStorageEntityController
Returns
DistributedStorageEntityController
Properties
factory
factory
:
DistributedOperationFactory
Methods
aggregate
aggregate<T>
(
baseClass
:
ClassType
<
T
>
, aggregationPipeline
:
any
, options
?:
IDistributedAggregateOptions
)
:
Promise
<
T
[]
>
Type parameters
T
Parameters
baseClass:
ClassType
<
T
>
aggregationPipeline:
any
Optional
options:
IDistributedAggregateOptions
Returns
Promise
<
T
[]
>
find
find<T>
(
fn
:
string
|
Function
|
ClassType
<
T
>
, conditions
?:
any
, options
?:
IDistributedFindOptions
)
:
Promise
<
T
[]
>
Type parameters
T
Parameters
fn:
string
|
Function
|
ClassType
<
T
>
conditions:
any
= null
options:
IDistributedFindOptions
= ...
Returns
Promise
<
T
[]
>
find
One
find
One<T>
(
fn
:
string
|
Function
|
ClassType
<
T
>
, conditions
?:
any
, options
?:
IDistributedFindOptions
)
:
Promise
<
T
>
Type parameters
T
Parameters
fn:
string
|
Function
|
ClassType
<
T
>
conditions:
any
= null
options:
IDistributedFindOptions
= ...
Returns
Promise
<
T
>
for
Class
for
Class
(
cls
:
string
|
Function
|
ClassType
<
any
>
)
:
IEntityRef
Parameters
cls:
string
|
Function
|
ClassType
<
any
>
Returns
IEntityRef
name
name
(
)
:
string
Returns
string
remove
remove<T>
(
object
:
T
, options
?:
IDistributedRemoveOptions
)
:
Promise
<
T
>
remove<T>
(
object
:
T
[]
, options
?:
IDistributedRemoveOptions
)
:
Promise
<
T
[]
>
remove<T>
(
cls
:
ClassType
<
T
>
, condition
:
any
, options
?:
IDistributedRemoveOptions
)
:
Promise
<
number
>
Type parameters
T
Parameters
object:
T
Optional
options:
IDistributedRemoveOptions
Returns
Promise
<
T
>
Type parameters
T
Parameters
object:
T
[]
Optional
options:
IDistributedRemoveOptions
Returns
Promise
<
T
[]
>
Type parameters
T
Parameters
cls:
ClassType
<
T
>
condition:
any
Optional
options:
IDistributedRemoveOptions
Returns
Promise
<
number
>
save
save<T>
(
object
:
T
, options
?:
IDistributedSaveOptions
)
:
Promise
<
T
>
save<T>
(
object
:
T
[]
, options
?:
IDistributedSaveOptions
)
:
Promise
<
T
[]
>
Type parameters
T
Parameters
object:
T
Optional
options:
IDistributedSaveOptions
Returns
Promise
<
T
>
Type parameters
T
Parameters
object:
T
[]
Optional
options:
IDistributedSaveOptions
Returns
Promise
<
T
[]
>
update
update<T>
(
cls
:
ClassType
<
T
>
, condition
:
any
, update
:
any
, options
?:
IDistributedUpdateOptions
)
:
Promise
<
number
>
Type parameters
T
Parameters
cls:
ClassType
<
T
>
condition:
any
update:
any
Optional
options:
IDistributedUpdateOptions
Returns
Promise
<
number
>
Modules
Activator
Bootstrap
Startup
index
Distributed
Storage
Entity
Controller
constructor
factory
aggregate
find
find
One
for
Class
name
remove
save
update
Generated using
TypeDoc