Compares the equality of this ObjectId with 比较此ObjectId与otherID
.otherID
的相等性。
ObjectId instance to compare against.要比较的ObjectId实例。
Returns the generation date (accurate up to the second) that this ID was generated.返回生成此ID的生成日期(精确到秒)。
Returns the ObjectId id as a 24 character hex string representation以24个字符的十六进制字符串表示形式返回ObjectId
Creates an ObjectId from a hex string representation of an ObjectId.从ObjectId的十六进制字符串表示形式创建ObjectId。
create a ObjectId from a passed in 24 character hexstring.从传入的24个字符的十六进制字符串创建ObjectId。
Creates an ObjectId from a second based number, with the rest of the ObjectId zeroed out. Used for comparisons or sorting the ObjectId.从第二个数字创建ObjectId,并将ObjectId的其余部分置零。用于对ObjectId进行比较或排序。
an integer number representing a number of seconds.表示秒数的整数。
Generate a 12 byte id buffer used in ObjectId's生成ObjectId中使用的12字节id缓冲区
pass in a second based timestamp.传入第二个基于时间戳的时间戳。
Checks if a value is a valid bson ObjectId检查值是否为有效的bson对象ID
ObjectId instance to validate.要验证的ObjectId实例。
A class representation of the BSON ObjectId type.BSON ObjectId类型的类表示形式。