function updateSyncTime(orders){
	  		var ids = orders.map(function(o){
	  			return o.id;
	  		});
	  		dbService.db_.update(dbService.orderTable)
	  					.set(dbService.orderTable.synced, true)
	  					.set(dbService.orderTable.synced_at, new Date())
	  					.where(dbService.orderTable.id.in(ids))
	  					.exec()
	  					.then(function(){
	  						
	  					});
	  	}
/*
	  	* Update SyncTime and set Synced to true for all provided 
	  	* order rows
	  	*/
Update SyncTime and set Synced to true for all provided
order rows
Update SyncTime and set Synced to true for all provided order rows
function updateSyncTime(orders){
	  		var ids = orders.map(function(o){
	  			return o.id;
	  		});
	  		dbService.db_.update(dbService.orderTable)
	  					.set(dbService.orderTable.synced, true)
	  					.set(dbService.orderTable.synced_at, new Date())
	  					.where(dbService.orderTable.id.in(ids))
	  					.exec()
	  					.then(function(){
	  					});
	  	}
function updateSyncTime ( orders ) { var ids = orders . map ( function ( o ) { return o . id ; } ) ; dbService . db_ . update ( dbService . orderTable ) . set ( dbService . orderTable . synced , true ) . set ( dbService . orderTable . synced_at , new Date ( ) ) . where ( dbService . orderTable . id . in ( ids ) ) . exec ( ) . then ( function ( ) { } ) ; }
Update SyncTime and set Synced to true for all provided
 order rows
Update SyncTime and set Synced to true for all provided order rows