MongoDB\Driver\BSON
PHP Manual

The MongoDB\BSON\Binary class

(mongodb >=1.0.0)

简介

类摘要

MongoDB\BSON\Binary implements MongoDB\BSON\Type {
/* Constants */
const integer TYPE_GENERIC = 0 ;
const integer TYPE_FUNCTION = 1 ;
const integer TYPE_OLD_BINARY = 2 ;
const integer TYPE_OLD_UUID = 3 ;
const integer TYPE_UUID = 4 ;
const integer TYPE_MD5 = 5 ;
const integer TYPE_USER_DEFINED = 128 ;
/* 方法 */
final public __construct ( string $data , integer $type )
final public string getData ( void )
final public integer getType ( void )
}

预定义常量

MongoDB\BSON\Binary::TYPE_GENERIC

MongoDB\BSON\Binary::TYPE_FUNCTION

MongoDB\BSON\Binary::TYPE_OLD_BINARY

MongoDB\BSON\Binary::TYPE_OLD_UUID

MongoDB\BSON\Binary::TYPE_UUID

MongoDB\BSON\Binary::TYPE_MD5

MongoDB\BSON\Binary::TYPE_USER_DEFINED

Table of Contents


MongoDB\Driver\BSON
PHP Manual