java.lang.Object | ||
↳ | com.mongodb.DBRefBase | |
↳ | com.mongodb.DBRef |
overrides DBRefBase to understand a BSONObject representation of a reference.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a DBRef
| |||||||||||
Creates a DBRef
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fetches a referenced object from the database
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.mongodb.DBRefBase
| |||||||||||
From class
java.lang.Object
|
Creates a DBRef
db | the database |
---|---|
o | a BSON object representing the reference |
Creates a DBRef
db | the database |
---|---|
ns | the namespace where the object is stored |
id | the object id |
fetches a referenced object from the database
db | the database |
---|---|
ref | the reference |