UpdateOneResult

data class UpdateOneResult(val updated: Boolean, val upsertedId: Any?)

Wrapper of results of an updateOne call.

Parameters

updated

boolean indicating that a document was updated.

upsertedId

primary key of the new document if created.

Constructors

Link copied to clipboard
constructor(updated: Boolean, upsertedId: Any?)

Properties

Link copied to clipboard
Link copied to clipboard