Eixo-Queue
view release on metacpan or search on metacpan
lib/Eixo/Queue/MongoDriver.pm view on Meta::CPAN
2728293031323334353637383940414243444546
}
$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 0.274 second using v1.01-cache-2.11-cpan-26ccb49234f )