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
Webiny
Component
Mongo
Mongo
id
Webiny\Component\Mongo\Mongo::id PHP Method
Mongo Class Documentation
Show file
Open project: Webiny/Framework
id()
public
method
Construct Mongo ID
public
id
(
null
|
string
$id
= null ) :
MongoDB\BSON\ObjectID
$id
null
|
string
(Optional)
return
MongoDB\BSON\ObjectID
public function id($id = null) { return $this->bridge->id($id); }
Mongo
__construct
aggregate
bulkWrite
cName
command
count
createCollection
createIndex
createIndexes
delete
distinct
dropCollection
dropIndex
dropIndexes
find
findOne
findOneAndDelete
findOneAndReplace
findOneAndUpdate
getCollectionPrefix
getNamespace
id
insertMany
insertOne
isId
listCollections
listIndexes
selectDatabase
update