StorageService storageService = App42API.BuildStorageService();
storageService.SetGeoTag(gp);
GeoQuery query = QueryBuilder.BuildGeoQuery(gp, GeoOperator.WITHIN, distanceInKM);
// find documents by geo query.
storageService.FindDocumentsByLocation(dbName, collectionName, query, this);
i am using following code to retreuve documents in a collection inside my db. But it's returning errorcode 404, the database [appname]:[dbname] has no collections. Although i could see the collection made from my admin panel in technical service manager.
for the collections not made in my db, let's say name of collection is col, then it returns "No doucument in the collection 'col' exists for given query.
i was getting back responses earlier, before i deleted all the collections and users from the admin panel online, and now wanted to create new users and add/retreive user's data using storage service