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
Phalcon
Db
Adapter
MongoDB
Model
IndexInfo
isTtl
Phalcon\Db\Adapter\MongoDB\Model\IndexInfo::isTtl PHP Method
IndexInfo Class Documentation
Show file
Open project: phalcon/incubator
isTtl()
public
method
Return whether this is a TTL index.
See also:
http://docs.mongodb.org/manual/core/index-ttl/
public
isTtl
( ) :
boolean
return
boolean
public function isTtl() { return array_key_exists('expireAfterSeconds', $this->info); }
IndexInfo
__construct
__debugInfo
getKey
getName
getNamespace
getVersion
isSparse
isTtl
isUnique
offsetExists
offsetGet
offsetSet
offsetUnset