java.lang.Object | |
↳ | com.mongodb.DBRefBase |
![]() |
represents a database reference, which points to an object stored in the database
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a DBRefBase
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fetches the object referenced from the database
| |||||||||||
Gets the database
| |||||||||||
Gets the object's id
| |||||||||||
Gets the object's namespace (collection name)
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a DBRefBase
db | the database |
---|---|
ns | the namespace where the object is stored |
id | the object id |