略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoInt32

2024-05-03

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

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.mongoint32.php

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