(Quick Reference)

createDBRef

Purpose

Creates a com.mongodb.DBRef object that can be used for referencing.

Examples

book.createDBRef()