Error in Collection.ReplaceOne method
Posted by: Jesús Trujillo
Date: November 23, 2020 07:23AM

I have a DbDoc with the following structure:
͏͏ property1: value1,
 property2: value2.
    property11: value11,
    property12: value12
    property11: value11,
    propertu12: value12

When I add this DbDoc using Collection.Add(DbDoc) method, it works.
But when I try to update the database document using Collection.ReplaceOne(id,DbDoc) method, I get the following exception:

Mensaje = Value of type System.Collections.Generic.Dictionary`2[System.String,System.Object][] is not currently supported.

Can anybody tell me what am I doing wrong?

Options: ReplyQuote

Written By
Error in Collection.ReplaceOne method
November 23, 2020 07:23AM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.