Example usage for Java com.mongodb DBRef fields, constructors, methods, implement or subclass
The text is from its open source code.
DBRef(final String collectionName, final Object id) Construct an instance. | |
DBRef(@Nullable final String databaseName, final String collectionName, final Object id) Construct an instance. |
String | getCollectionName() Gets the name of the collection in which the referenced document is stored. |
String | getDatabaseName() Gets the name of the database in which the referenced document is stored. |
Object | getId() Gets the _id of the referenced document |
String | toString() |