|
| __construct (array $info) |
|
| __debugInfo () |
| Return the collection info as an array.
|
|
| __toString () |
| Return the index name to allow casting IndexInfo to string.
|
|
| getKey () |
| Return the index key.
|
|
| getName () |
| Return the index name.
|
|
| getNamespace () |
| Return the index namespace (e.g.
|
|
| getVersion () |
| Return the index version.
|
|
| is2dSphere () |
| Return whether or not this index is of type 2dsphere.
|
|
| isGeoHaystack () |
| Return whether or not this index is of type geoHaystack.
|
|
| isSparse () |
| Return whether this is a sparse index.
|
|
| isText () |
| Return whether or not this index is of type text.
|
|
| isTtl () |
| Return whether this is a TTL index.
|
|
| isUnique () |
| Return whether this is a unique index.
|
|
| offsetExists ($key) |
| Check whether a field exists in the index information.
|
|
| offsetGet ($key) |
| Return the field's value from the index information.
|
|
| offsetSet ($key, $value) |
| Not supported.
|
|
| offsetUnset ($key) |
| Not supported.
|
|
◆ __construct()
MongoDB\Model\IndexInfo::__construct |
( |
array | $info | ) |
|
◆ __debugInfo()
MongoDB\Model\IndexInfo::__debugInfo |
( |
| ) |
|
◆ __toString()
MongoDB\Model\IndexInfo::__toString |
( |
| ) |
|
Return the index name to allow casting IndexInfo to string.
- Return values
-
◆ getKey()
MongoDB\Model\IndexInfo::getKey |
( |
| ) |
|
Return the index key.
- Return values
-
◆ getName()
MongoDB\Model\IndexInfo::getName |
( |
| ) |
|
Return the index name.
- Return values
-
◆ getNamespace()
MongoDB\Model\IndexInfo::getNamespace |
( |
| ) |
|
Return the index namespace (e.g.
"db.collection").
- Return values
-
◆ getVersion()
MongoDB\Model\IndexInfo::getVersion |
( |
| ) |
|
Return the index version.
- Return values
-
◆ is2dSphere()
MongoDB\Model\IndexInfo::is2dSphere |
( |
| ) |
|
Return whether or not this index is of type 2dsphere.
- Return values
-
◆ isGeoHaystack()
MongoDB\Model\IndexInfo::isGeoHaystack |
( |
| ) |
|
Return whether or not this index is of type geoHaystack.
- Return values
-
◆ isSparse()
MongoDB\Model\IndexInfo::isSparse |
( |
| ) |
|
◆ isText()
MongoDB\Model\IndexInfo::isText |
( |
| ) |
|
Return whether or not this index is of type text.
- Return values
-
◆ isTtl()
MongoDB\Model\IndexInfo::isTtl |
( |
| ) |
|
◆ isUnique()
MongoDB\Model\IndexInfo::isUnique |
( |
| ) |
|
◆ offsetExists()
MongoDB\Model\IndexInfo::offsetExists |
( |
| $key | ) |
|
◆ offsetGet()
MongoDB\Model\IndexInfo::offsetGet |
( |
| $key | ) |
|
◆ offsetSet()
MongoDB\Model\IndexInfo::offsetSet |
( |
| $key, |
|
|
| $value ) |
◆ offsetUnset()
MongoDB\Model\IndexInfo::offsetUnset |
( |
| $key | ) |
|
The documentation for this class was generated from the following file:
- cache/stores/mongodb/MongoDB/Model/IndexInfo.php