mongodb\QueryBuilder ensureMongoId()

ensureMongoId() protected method

Converts given value into \MongoDB\BSON\ObjectID instance.

If array given, each element of it will be processed.

protected array|\MongoDB\BSON\ObjectID ensureMongoId ( $rawId )
$rawId mixed

Raw id(s).

return array|\MongoDB\BSON\ObjectID

Normalized id(s).

doc_Yii
2016-10-30 17:09:07
Comments
Leave a Comment

Please login to continue.