PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\BSON\ObjectId::__construct
request it (390)
GoLang replacement for PHP's MongoDB\BSON\ObjectId::__construct
[edit | history]
PHP MongoDB\BSON\ObjectId::__constructPHP original manual for MongoDB\BSON\ObjectId::__construct [ show | php.net ]MongoDB\BSON\ObjectId::__construct(mongodb >=1.0.0) MongoDB\BSON\ObjectId::__construct — Construct a new ObjectId Description
final public MongoDB\BSON\ObjectId::__construct
([ string
$id
] )Parameters
Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\ObjectId::__construct() example
<?php The above example will output something similar to: object(MongoDB\BSON\ObjectId)#1 (1) { ["oid"]=> string(24) "56732d3dda14d81214634921" } object(MongoDB\BSON\ObjectId)#1 (1) { ["oid"]=> string(24) "000000000000000000000001" } |
more
Recently updated
more
Most requested
more
Last requests
|