I've installed latest version of Deployd on Windows 7 64 Bit. Everything works fine except, I cannot query a single object.
ie, if i use the following code,
var query ={"name":"Jack","empid":"10"};
dpd.employees.first(query, function (result) {
console.log(result);
});
I'm getting TypeError: undefined is not a function at the console (Google Chrome) pointing to the function 'first()'. All other functions generated at the API tab of Dashboard are working fine without any issues. I've tried reinstalling Deployd to another directory & the issue is still there. Haven't tried on a different machine yet.
What might be the cause?
Any help is appreciated.