Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
MongoDB\Collection Member List

This is the complete list of members for MongoDB\Collection, including all inherited members.

__construct(Manager $manager, string $databaseName, string $collectionName, array $options=[])MongoDB\Collection
__debugInfo()MongoDB\Collection
__toString()MongoDB\Collection
aggregate(array $pipeline, array $options=[])MongoDB\Collection
bulkWrite(array $operations, array $options=[])MongoDB\Collection
count($filter=[], array $options=[])MongoDB\Collection
countDocuments($filter=[], array $options=[])MongoDB\Collection
createIndex($key, array $options=[])MongoDB\Collection
createIndexes(array $indexes, array $options=[])MongoDB\Collection
deleteMany($filter, array $options=[])MongoDB\Collection
deleteOne($filter, array $options=[])MongoDB\Collection
distinct(string $fieldName, $filter=[], array $options=[])MongoDB\Collection
drop(array $options=[])MongoDB\Collection
dropIndex($indexName, array $options=[])MongoDB\Collection
dropIndexes(array $options=[])MongoDB\Collection
estimatedDocumentCount(array $options=[])MongoDB\Collection
explain(Explainable $explainable, array $options=[])MongoDB\Collection
find($filter=[], array $options=[])MongoDB\Collection
findOne($filter=[], array $options=[])MongoDB\Collection
findOneAndDelete($filter, array $options=[])MongoDB\Collection
findOneAndReplace($filter, $replacement, array $options=[])MongoDB\Collection
findOneAndUpdate($filter, $update, array $options=[])MongoDB\Collection
getCollectionName()MongoDB\Collection
getDatabaseName()MongoDB\Collection
getManager()MongoDB\Collection
getNamespace()MongoDB\Collection
getReadConcern()MongoDB\Collection
getReadPreference()MongoDB\Collection
getTypeMap()MongoDB\Collection
getWriteConcern()MongoDB\Collection
insertMany(array $documents, array $options=[])MongoDB\Collection
insertOne($document, array $options=[])MongoDB\Collection
listIndexes(array $options=[])MongoDB\Collection
mapReduce(JavascriptInterface $map, JavascriptInterface $reduce, $out, array $options=[])MongoDB\Collection
rename(string $toCollectionName, ?string $toDatabaseName=null, array $options=[])MongoDB\Collection
replaceOne($filter, $replacement, array $options=[])MongoDB\Collection
updateMany($filter, $update, array $options=[])MongoDB\Collection
updateOne($filter, $update, array $options=[])MongoDB\Collection
watch(array $pipeline=[], array $options=[])MongoDB\Collection
withOptions(array $options=[])MongoDB\Collection