Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ClientSession

A class representing a client session on the server. WARNING: not meant to be instantiated directly.

see

http://mongodb.github.io/node-mongodb-native/3.1/api/ClientSession.html

Hierarchy

  • any
    • ClientSession

Index

Properties

id

id: any

The server id associated with this session

Methods

abortTransaction

  • abortTransaction(): Promise<void>
  • abortTransaction(callback?: MongoCallback<void>): Promise<void>

advanceOperationTime

  • advanceOperationTime(operationTime: Timestamp): void

commitTransaction

  • commitTransaction(): Promise<void>
  • commitTransaction(callback?: MongoCallback<void>): Promise<void>

endSession

equals

inTransaction

  • inTransaction(): boolean

incrementTransactionNumber

  • incrementTransactionNumber(): void

startTransaction

Generated using TypeDoc