mongo.bson.dbref: BSON data type constant for a dbref value

Description Usage Format Details Value See Also

Description

mongo.bson.iterator.type() and mongo.bson.iterator.next() will return this constant (12L) to indicate that the value pointed to by an iterator is a dbref (database reference).

Usage

1

Format

1
 int 12

Details

Note that this BSON data type is deprecated and rmongodb provides no support for it. Attempting to fetch the value of a dbref with mongo.bson.to.list() or
mongo.bson.iterator.value() will throw an error. The field must be skipped by calling mongo.bson.iterator.next().

Value

12L

See Also

mongo.bson.iterator.type,
mongo.bson.iterator.next,
mongo.bson.


jonkatz2/rmongodb documentation built on May 19, 2019, 7:30 p.m.