Using Unity3d and the latest SDK, i am trying to get all the documents from a collection.
From the documentation i read :
var storageService = new App42Storage();
storageService.findAllDocumentsByPaging(dbName,collectionName,max,offset,{
success: function(object)
{
var storageObj = JSON.parse(object);
response = storageObj.app42.response.storage;
console.log("dbName is " + response.dbName)
},
error: function(error) {
}
});
But this line is giving an error : " var storageService = new App42Storage(); " -- > The type or namespace App42Storage could not be found.
I do have :
using com.shephertz.app42.paas.sdk.csharp;
using com.shephertz.app42.paas.sdk.csharp.storage;
and all my other request are working , like the FindAllDocuments and UpdateDocument.
What am i missing ?