Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Sokil
Mongo
Collection
getDocumentFromDocumentPool
Sokil\Mongo\Collection::getDocumentFromDocumentPool PHP Method
Collection Class Documentation
Mostrar archivo
Open project: sokil/php-mongo
getDocumentFromDocumentPool()
public
method
Get document from identity map by it's id
public
getDocumentFromDocumentPool
(
string
|
integer
| MongoId
$id
) :
Document
$id
string
|
integer
| MongoId
return
Document
public function getDocumentFromDocumentPool($id) { return $this->documentPool[(string) $id]; }
Collection
__construct
__get
addDocumentToDocumentPool
addDocumentsToDocumentPool
aggregate
batchDelete
batchInsert
batchUpdate
clearDocumentPool
count
createAggregator
createBatchDelete
createBatchInsert
createBatchUpdate
createDocument
createIndex
delete
deleteDocument
deleteDocuments
deleteIndex
disableDocumentPool
documentPoolCount
enableDocumentPool
enableVersioning
ensure2dIndex
ensure2dSphereIndex
ensureFulltextIndex
ensureIndex
ensureSparseIndex
ensureTTLIndex
ensureUniqueIndex
explainAggregate
expression
find
findAsArray
getDatabase
getDistinct
getDocument
getDocumentByReference
getDocumentClassName
getDocumentDirectly
getDocumentFromDocumentPool
getDocuments
getDocumentsFromDocumentPool
getIndexes
getMongoCollection
getName
getOption
getOptions
getReadPreference
getWriteConcern
hasDocument
hydrate
initIndexes
insert
insertMultiple
isDocumentInDocumentPool
isDocumentPoolEmpty
isDocumentPoolEnabled
isVersioningEnabled
operator
readNearest
readPrimaryOnly
readPrimaryPreferred
readSecondaryOnly
readSecondaryPreferred
removeDocumentFromDocumentPool
setMajorityWriteConcern
setUnacknowledgedWriteConcern
setWriteConcern
stats
update
updateAll
updateMultiple
validate