略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoCode

2024-04-17

The MongoCode class

(PECL mongo >=0.8.3)

Warning

This extension that defines this class is deprecated. Instead, the MongoDB extension should be used. Alternatives to this class include:

简介

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.

类摘要

MongoCode {
/* 方法 */
public __construct ( string $code [, array $scope = array() ] )
public __toString ( void ) : string
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.mongocode.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3