Hello,
I’m using Couchbase as internal database to store object received from an API. I convert Json document to Dictionnary<string, object> and use the method setData
, but when I ask document listing, for a specific document, the only keys available are _id
and my-db
.
It seems that
mutableDocument.SetString("key", "value")
and
mutableDocument.SetData(new Dictionary<string, object>() {{"key", "value"}})
not produce same inner database document.
How to query a disctionnary ? by exemple to only have document with key
= “DEMO” ?
PS: This is an exemple, currently, we save some entity with more that 100 attributes, we can’t manually use SetString
, SetFloat
, … when we save entity into database