append

fun append(key: String, value: BsonValue): BsonDocument

Put the given key and value into this document, and return the document.

Return

this

Parameters

key

the key

value

the value