Skip to content

Commit

Permalink
Merge pull request #9934 from alcaeus/mongodb-functions
Browse files Browse the repository at this point in the history
Add call map entries for MongoDB functions
  • Loading branch information
orklah committed Jun 20, 2023
2 parents 85d3e4d + 47569ed commit 653ad66
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dictionaries/CallMap.php
Expand Up @@ -7060,6 +7060,14 @@
'MongoDB::setReadPreference' => ['bool', 'read_preference'=>'string', 'tags='=>'array'],
'MongoDB::setSlaveOkay' => ['bool', 'ok='=>'bool'],
'MongoDB::setWriteConcern' => ['bool', 'w'=>'mixed', 'wtimeout='=>'int'],
'MongoDB\BSON\fromJSON' => ['string', 'json' => 'string'],
'MongoDB\BSON\fromPHP' => ['string', 'value' => 'object|array'],
'MongoDB\BSON\toCanonicalExtendedJSON' => ['string', 'bson' => 'string'],
'MongoDB\BSON\toJSON' => ['string', 'bson' => 'string'],
'MongoDB\BSON\toPHP' => ['object|array', 'bson' => 'string', 'typemap=' => '?array'],
'MongoDB\BSON\toRelaxedExtendedJSON' => ['string', 'bson' => 'string'],
'MongoDB\Driver\Monitoring\addSubscriber' => ['void', 'subscriber' => 'MongoDB\Driver\Monitoring\Subscriber'],
'MongoDB\Driver\Monitoring\removeSubscriber' => ['void', 'subscriber' => 'MongoDB\Driver\Monitoring\Subscriber'],
'MongoDB\BSON\Binary::__construct' => ['void', 'data' => 'string', 'type=' => 'int'],
'MongoDB\BSON\Binary::getData' => ['string'],
'MongoDB\BSON\Binary::getType' => ['int'],
Expand Down
8 changes: 8 additions & 0 deletions dictionaries/CallMap_historical.php
Expand Up @@ -3731,6 +3731,14 @@
'MongoDBRef::create' => ['array', 'collection'=>'string', 'id'=>'mixed', 'database='=>'string'],
'MongoDBRef::get' => ['?array', 'db'=>'MongoDB', 'ref'=>'array'],
'MongoDBRef::isRef' => ['bool', 'ref'=>'mixed'],
'MongoDB\BSON\fromJSON' => ['string', 'json' => 'string'],
'MongoDB\BSON\fromPHP' => ['string', 'value' => 'object|array'],
'MongoDB\BSON\toCanonicalExtendedJSON' => ['string', 'bson' => 'string'],
'MongoDB\BSON\toJSON' => ['string', 'bson' => 'string'],
'MongoDB\BSON\toPHP' => ['object|array', 'bson' => 'string', 'typemap=' => '?array'],
'MongoDB\BSON\toRelaxedExtendedJSON' => ['string', 'bson' => 'string'],
'MongoDB\Driver\Monitoring\addSubscriber' => ['void', 'subscriber' => 'MongoDB\Driver\Monitoring\Subscriber'],
'MongoDB\Driver\Monitoring\removeSubscriber' => ['void', 'subscriber' => 'MongoDB\Driver\Monitoring\Subscriber'],
'MongoDB\BSON\Binary::__construct' => ['void', 'data' => 'string', 'type=' => 'int'],
'MongoDB\BSON\Binary::getData' => ['string'],
'MongoDB\BSON\Binary::getType' => ['int'],
Expand Down

0 comments on commit 653ad66

Please sign in to comment.