Php/docs/mongoid.getinc

来自菜鸟教程
跳转至:导航、​搜索

MongoId::getInc

(PECL mongo >= 1.0.11)

MongoId::getInc返回用于创建 id 所增加的值


This extension that defines this method

is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this method in the new extension.

说明

public MongoId::getInc ( ) : int

参数

此函数没有参数。


返回值

返回增加的值,用于创建 MongoId