index.js
function(channel, next) {
    var filter = {
      channel_id : channel.id,
      owner_id : channel.owner_id
    };

    this._dao.findFilter('channel_pod_tracking', filter, function(err, result) {
      next(err || !result, result && result.length > 0 ? result[0].last_poll : null);
    });
  }
function(channel, next) {
    var filter = {
      channel_id : channel.id,
      owner_id : channel.owner_id
    };

    this._dao.findFilter('channel_pod_tracking', filter, function(err, result) {
      next(err || !result, result && result.length > 0 ? result[0].last_poll : null);
    });
  }
function ( channel , next ) { var filter = { channel_id : channel . id , owner_id : channel . owner_id } ; this . _dao . findFilter ( 'channel_pod_tracking' , filter , function ( err , result ) { next ( err || ! result , result && result . length > 0 ? result [ 0 ] . last_poll : null ) ; } ) ; }
get last poll time for tracker
get last poll time for tracker