Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
DominionEnterprises
Mongo
QueueInterface
ensureCountIndex
DominionEnterprises\Mongo\QueueInterface::ensureCountIndex PHP Method
QueueInterface Interface Documentation
Show file
Open project: dominionenterprises/mongo-queue-php
ensureCountIndex()
public
method
Ensure an index for the count() method.
public
ensureCountIndex
(
array
$fields
,
boolean
$includeRunning
) :
void
$fields
array
fields in count() call to index in same format as \MongoDB\Collection::createIndex()
$includeRunning
boolean
whether to include the running field in the index
return
void
public function ensureCountIndex(array $fields, $includeRunning);
QueueInterface
ack
ackSend
count
ensureCountIndex
ensureGetIndex
get
requeue
send