Learn R Programming

rmongodb (version 1.8.0)

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

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

mongo.bson.dbref

Arguments

Value

12L

Format

 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().

See Also

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