MongoTransactionDatabase
MongoTransactionDatabase.swift:4final class MongoTransactionDatabase
Superclasses
class MongoDatabase
A reference to a MongoDB database, over a
MongoConnectionPool
.
Citizens in MongoKitten
Conformances
Instance members
func abort(
) async throws Aborts the transaction and ends the session.
func commit(
) async throws Commits the transaction and ends the session.