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
Sokil
Mongo
CursorTest
tearDown
Sokil\Mongo\CursorTest::tearDown PHP Method
CursorTest Class Documentation
Show file
Open project: sokil/php-mongo
tearDown()
public
method
public
tearDown
( )
public function tearDown() { if ($this->collection) { $this->collection->delete(); } }
CursorTest
setUp
tearDown
testCount
testErrorOnAcceptedAndSkippedFieldsPassed
testExplain
testFilter
testFindAll
testFindAndRemove
testFindAndUpdate
testFindAndUpdate_NoDocumentsFound
testFindOne
testFindRandom
testGetHash
testGetIdList
testHashEquals
testHint
testLimit
testLimitedCount
testLogger
testMap
testMixedToMongoIdList
testMixedToMongoIdList_ArrayWithoutIdKey
testMixedToMongoIdList_InvalidType
testMoveToCollection
testPluck_findAsArray_CompoundField
testPluck_findAsArray_SimpleField
testPluck_findAsObject_CompoundField
testPluck_findAsObject_SimpleField
testQuery
testReadNearest
testReadPrimaryOnly
testReadPrimaryPreferred
testReadSecondaryOnly
testReadSecondaryPreferred
testReturnAsArray
testReturnSpecifiedFields
testSetBatchSize
testSetBatchSizeInMapping
testSetClientTimeoutInConstructor
testSetClientTimeoutInMapping
testSetClientTimeoutInSetter
testSetServerTimeoutInConstructor
testSetServerTimeoutInMapping
testSetServerTimeoutInSetter
testSkipSpecifiedFields
testSlice
testSort