RemoteInsertOneResult
public struct RemoteInsertOneResult : Decodable
The result of an insertOne
command on a RemoteMongoCollection
.
-
The identifier that was inserted. If the document doesn’t have an identifier, this value will be generated by the Stitch server and added to the document before insertion.
Declaration
Swift
public let insertedId: BsonValue