©
本文檔使用 php中文網手册 發布
(PECL mongo >=0.8.3)
Represents JavaScript code for the database.
MongoCode objects are composed of two parts: a string of code and an optional scope. The string of code must be valid JavaScript. The scope is a associative array of variable name/value pairs.
$code
[, array $scope
= array()
] )