I am trying this example query
-
String key2 = "age";
-
int value2 = 29;
-
Query q2 = QueryBuilder.Build(key2, value2, Operator.GREATER_THAN);
-
Storage storage = storageService.FindDocumentsByQuery(dbName,collectionName,q2);
with a json document {"age":"30","name":"Nick"} and i get the result
com.shephertz.app42.paas.sdk.csharp.App42NotFoundException: {"app42Fault":{"httpErrorCode":404,"appErrorCode":2608,"message":"Not Found","details":"No document in the collection 'testing' exists for given query"}}
is it not possibly to do queries with number comparisons?