略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoInt64

2024-04-27

MongoInt64 类

(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 的值选择合适的数据库数据类型。

简介

这个类能够在 32 位的系统上保存一个 64 位的 integer 到数据库。

类摘要

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

字段

value
64 位数字的字符串值。例如 ,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.mongoint64.php

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