MongoInt32 类

(PECL mongo >=1.0.9)

Warning

This extension that defines this class is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this class in the new extension.

作为替代,新的扩展会根据 Integer 的值选择合适的数据库数据类型。

简介

这个类可以在一个 64 位的操作系统上将 32 位的 integer 保存到数据库。

类摘要

MongoInt32 {
/* 字段 */
public string $value ;
/* 方法 */
public __construct ( string $value )
public __toString ( void ) : string
}

字段

value
This is the string value of the 64-bit number. 例如,123 的值应该是 "123"。

Table of Contents