I have the following code that return 0 or no result. I have no running errors
var Users_Collection = new Meteor.Collection("bp_qstat_jobs_monitor_temp");
if (Meteor.isServer) {
Meteor.startup(function () {
// code to run on server at startup
});
}
if (Meteor.isClient) {
var cursor = Users_Collection.find('j_owner');
var info = cursor.count();
console.log(cursor, info);
}
so the question is what I'm doing wrong??? (the collection has 200 records)