Search
Preparing search index...
The search index is not available
mongodb
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mongodb
CommandOperation
Class CommandOperation<T>
internal
Type parameters
T
Hierarchy
AbstractOperation
<
T
>
CommandOperation
AggregateOperation
Index
Constructors
constructor
Properties
[k
Session]
bson
Options
bypass
Pinning
Check
cmd
explain
logger
ns
options
read
Concern
read
Preference
server
write
Concern
Accessors
can
Retry
Read
can
Retry
Write
session
Methods
execute
execute
Command
has
Aspect
Constructors
constructor
new
Command
Operation<T>
(
parent
?:
OperationParent
, options
?:
CommandOperationOptions
)
:
CommandOperation
<
T
>
Type parameters
T
Parameters
Optional
parent:
OperationParent
Optional
options:
CommandOperationOptions
Returns
CommandOperation
<
T
>
Properties
[k
Session]
[k
Session]
:
ClientSession
Optional
bson
Options
bson
Options
:
BSONSerializeOptions
bypass
Pinning
Check
bypass
Pinning
Check
:
boolean
cmd
cmd
:
Document
Optional
explain
explain
:
Explain
Optional
logger
logger
:
Logger
ns
ns
:
MongoDBNamespace
options
options
:
CommandOperationOptions
Optional
read
Concern
read
Concern
:
ReadConcern
read
Preference
read
Preference
:
ReadPreference
server
server
:
Server
Optional
write
Concern
write
Concern
:
WriteConcern
Accessors
can
Retry
Read
get
canRetryRead
(
)
:
boolean
Returns
boolean
can
Retry
Write
get
canRetryWrite
(
)
:
boolean
Returns
boolean
session
get
session
(
)
:
ClientSession
Returns
ClientSession
Methods
Abstract
execute
execute
(
server
:
Server
, session
:
ClientSession
, callback
:
Callback
<
T
>
)
:
void
Parameters
server:
Server
session:
ClientSession
callback:
Callback
<
T
>
Returns
void
execute
Command
execute
Command
(
server
:
Server
, session
:
ClientSession
, cmd
:
Document
, callback
:
Callback
<
any
>
)
:
void
Parameters
server:
Server
session:
ClientSession
cmd:
Document
callback:
Callback
<
any
>
Returns
void
has
Aspect
has
Aspect
(
aspect
:
symbol
)
:
boolean
Parameters
aspect:
symbol
Returns
boolean
Exports
Command
Operation
constructor
[k
Session]
bson
Options
bypass
Pinning
Check
cmd
explain
logger
ns
options
read
Concern
read
Preference
server
write
Concern
can
Retry
Read
can
Retry
Write
session
execute
execute
Command
has
Aspect
Generated using
TypeDoc