|
| __construct (array $info) |
|
| __debugInfo () |
| Return the collection info as an array.
|
|
| getCappedMax () |
| Return the maximum number of documents to keep in the capped collection.
|
|
| getCappedSize () |
| Return the maximum size (in bytes) of the capped collection.
|
|
| getIdIndex () |
| Return information about the _id index for the collection.
|
|
| getInfo () |
| Return the "info" property of the server response.
|
|
| getName () |
| Return the collection name.
|
|
| getOptions () |
| Return the collection options.
|
|
| getType () |
| Return the collection type.
|
|
| isCapped () |
| Return whether the collection is a capped collection.
|
|
| offsetExists ($key) |
| Check whether a field exists in the collection information.
|
|
| offsetGet ($key) |
| Return the field's value from the collection information.
|
|
| offsetSet ($key, $value) |
| Not supported.
|
|
| offsetUnset ($key) |
| Not supported.
|
|
◆ __construct()
MongoDB\Model\CollectionInfo::__construct |
( |
array | $info | ) |
|
- Parameters
-
array | $info | Collection info |
◆ __debugInfo()
MongoDB\Model\CollectionInfo::__debugInfo |
( |
| ) |
|
◆ getCappedMax()
MongoDB\Model\CollectionInfo::getCappedMax |
( |
| ) |
|
Return the maximum number of documents to keep in the capped collection.
- Deprecated
- 1.0 Deprecated in favor of using getOptions
- Return values
-
◆ getCappedSize()
MongoDB\Model\CollectionInfo::getCappedSize |
( |
| ) |
|
Return the maximum size (in bytes) of the capped collection.
- Deprecated
- 1.0 Deprecated in favor of using getOptions
- Return values
-
◆ getInfo()
MongoDB\Model\CollectionInfo::getInfo |
( |
| ) |
|
◆ getName()
MongoDB\Model\CollectionInfo::getName |
( |
| ) |
|
◆ getOptions()
MongoDB\Model\CollectionInfo::getOptions |
( |
| ) |
|
◆ getType()
MongoDB\Model\CollectionInfo::getType |
( |
| ) |
|
◆ isCapped()
MongoDB\Model\CollectionInfo::isCapped |
( |
| ) |
|
Return whether the collection is a capped collection.
- Deprecated
- 1.0 Deprecated in favor of using getOptions
- Return values
-
◆ offsetExists()
MongoDB\Model\CollectionInfo::offsetExists |
( |
| $key | ) |
|
◆ offsetGet()
MongoDB\Model\CollectionInfo::offsetGet |
( |
| $key | ) |
|
◆ offsetSet()
MongoDB\Model\CollectionInfo::offsetSet |
( |
| $key, |
|
|
| $value ) |
◆ offsetUnset()
MongoDB\Model\CollectionInfo::offsetUnset |
( |
| $key | ) |
|
The documentation for this class was generated from the following file:
- cache/stores/mongodb/MongoDB/Model/CollectionInfo.php