MongoId 锟斤拷

(PECL mongo >=0.8.0)

锟斤拷锟�

为锟斤拷锟捷匡拷锟斤拷蟠唇锟斤拷锟轿ㄒ伙拷锟绞讹拷锟斤拷锟� 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷菘锟侥讹拷锟襟不撅拷锟斤拷 _id 锟街段o拷锟斤拷锟斤拷为 _id 锟街讹拷锟斤拷锟揭伙拷锟� MongoId 实锟斤拷锟斤拷为值锟斤拷 锟斤拷锟斤拷锟斤拷菥锟斤拷锟斤拷锟饺伙拷锟轿ㄒ伙拷侄危锟斤拷锟斤拷锟剿碉拷锟斤拷没锟斤拷锟斤拷锟� timestamp锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷为 _id 锟街讹拷也锟斤拷锟斤拷锟斤拷锟斤拷锟结被 一锟斤拷 MongoId 锟芥换锟斤拷

MongoId 锟斤拷实锟斤拷锟斤拷锟斤拷锟剿癸拷系锟斤拷锟捷匡拷锟斤拷锟斤拷锟斤拷锟叫的斤拷色锟斤拷 锟斤拷锟斤拷锟斤拷莶锟斤拷锟斤拷锟斤拷锟饺伙拷锟轿ㄒ伙拷锟斤拷锟斤拷锟斤拷峁┮伙拷锟斤拷锟� 锟斤拷锟斤拷锟斤拷锟节分诧拷式锟斤拷锟捷匡拷锟叫诧拷锟结工锟斤拷锟矫很好o拷锟斤拷为锟斤拷锟睫凤拷锟斤拷锟斤拷锟揭碉拷锟斤拷一锟斤拷锟斤拷锟街★拷 锟斤拷锟斤拷锟斤拷芄锟斤拷锟斤拷锟斤拷诜植锟绞斤拷驴锟斤拷俨锟斤拷锟轿ㄒ恢碉拷锟斤拷锟斤拷锟斤拷锟�

每锟斤拷 MongoId 锟斤拷锟斤拷 12 锟斤拷锟街节o拷使锟斤拷锟斤拷锟街凤拷锟斤拷锟斤拷式锟斤拷 24 锟斤拷十锟斤拷锟斤拷锟斤拷锟街凤拷锟斤拷锟斤拷 前锟侥革拷锟街斤拷锟斤拷一锟斤拷时锟斤拷锟斤拷锟絫imestamp锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟角客伙拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 hash 摘要锟斤拷然锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟叫脚憋拷锟侥斤拷锟斤拷 ID锟斤拷 锟斤拷锟斤拷锟轿伙拷锟揭伙拷锟斤拷锟斤拷锟街碉拷锟�

MongoId 锟角匡拷锟斤拷锟斤拷锟叫伙拷/锟斤拷锟斤拷锟叫伙拷锟侥★拷 锟斤拷锟斤拷锟斤拷锟叫伙拷锟斤拷母锟绞斤拷锟斤拷锟斤拷堑锟斤拷址锟斤拷锟斤拷锟绞斤拷冉锟斤拷锟�

C:7:"MongoId":24:{4af9f23d8ead0e1d32000000}

锟斤拷摘要

MongoId {
public string $id = NULL ;
/* 锟斤拷锟斤拷 */
public __construct ([ string|MongoId $id = NULL ] )
public static getHostname ( void ) : string
public getInc ( void ) : int
public getPID ( void ) : int
public getTimestamp ( void ) : int
public static isValid ( mixed $value ) : bool
public static __set_state ( array $props ) : MongoId
public __toString ( void ) : string
}

Fields

id
锟斤拷锟斤拷侄伟锟斤拷锟斤拷烁枚锟斤拷锟斤拷锟街凤拷锟斤拷锟斤拷锟斤拷锟绞斤拷锟�

锟轿硷拷

锟斤拷锟斤拷 » ids 锟斤拷 MongoDB 锟斤拷锟斤拷锟侥碉拷锟斤拷

Table of Contents