Eixo-Queue

 view release on metacpan or  search on metacpan

lib/Eixo/Queue/MongoDriver.pm  view on Meta::CPAN


	}

	$self->getCollection($collection)->insert_one({
        _id => $job->id,
        %{$job->to_hash}
    });

}

sub updateJob{
	my ($self, $job, $collection) = @_;

	$self->getCollection($collection)->update(

        {_id=>$job->id} ,

        $job->to_hash
    );
}



( run in 1.051 second using v1.01-cache-2.11-cpan-49f99fa48dc )