Hi, Elie
I tried with following code, it works well.
- Object data sample (key name is lower-case)
{"id":"1","name":"John","address":"street1"}
KiiBucket bucket = Kii.Bucket("mydata");
string [] ids = {"1","5","9"};
KiiQuery query = new KiiQuery(KiiClause.InWithStringValue("id", ids));
try
{
KiiQueryResult<KiiObject> result = bucket.Query(query);
foreach (KiiObject obj in result)
{
print(obj["id"] + " " + obj["name"] + " " + obj["address"]);
}
}
catch (Exception e)
{
print("Exception type : " + e.GetType().FullName + " / Message : " + e.Message );
}
1 John street1
Would you check what type exception or error is thrown in your code with e.GetType().FullName?
I guess you may catch "KiiCorp.Cloud.Storage.IllegalKiiBaseObjectFormatException" in your code when getting a value from KiiObject, due to specify key which does not exist in object or not match case.
Best,