         public func upsertEncoded<Query: MongoKittenQuery, E: Encodable>(_ model: E, where query: Query) async throws -> UpdateReply {
             try await nio.upsertEncoded(model, where: query).get()
         }
+    }
+    
+    public var `async`: Async {
+        Async(nio: self)
     }
 }
 

        public func drop() async throws {
            try await nio.drop().get()
        }
    }
}


    public struct Async {
        public let nio: MongoDatabase
        
        init(nio: MongoDatabase) {
            self.nio = nio
        }
        
        public var name: String { nio.name }
        public var isInTransaction: Bool { nio.isInTransaction }
        
