function updateDatasetClients(wcb) {
          var datasetClientIds = _.pluck(datasetClientsToSync, 'id');
          syncStorage.updateManyDatasetClients({id: {$in: datasetClientIds}}, {syncScheduled: Date.now()}, wcb);
        }
function updateDatasetClients(wcb) {
          var datasetClientIds = _.pluck(datasetClientsToSync, 'id');
          syncStorage.updateManyDatasetClients({id: {$in: datasetClientIds}}, {syncScheduled: Date.now()}, wcb);
        }
function updateDatasetClients ( wcb ) { var datasetClientIds = _ . pluck ( datasetClientsToSync , 'id' ) ; syncStorage . updateManyDatasetClients ( { id : { $in : datasetClientIds } } , { syncScheduled : Date . now ( ) } , wcb ) ; }
make sure each dataset client is marked to be scheduled
make sure each dataset client is marked to be scheduled