Top "Dbref" questions

mongodb - Database references

How to query mongodb with DBRef

suppose I have the following datastructure: var user = {_id: 'foo', age: 35}; var post = {_id: '...', author: {$ref: user, $id: …

reference mongodb dbref
MongoDB - is DBREF necessary?

Using the DBREF datatype in MongoDB, a document may look like as shown below. But having the $ref field in …

mongodb dbref
Nodejs + mongodb : How to query $ref fields?

I'am using MongoDB with a nodejs REST service which exposes my data stored inside. I have a question about how …

javascript node.js mongodb dbref
MongoDB: query by @DBRef

I have a class hierarchy designed for store user notifications: @Document public class Notification<T> { @Id private String …

mongodb dbref
query based on matching elements in DBRef list for mongodb using spring-data-mongodb

I am pretty new to mongodb. I am using spring-data-mongodb for my queries from java. Please guide me if this …

mongodb spring-data-mongodb dbref
Spring Data - MongoDB indexing DBRef

I'm using spring-data-mongodb-1.2.0.RELEASE. I have two classes A and B where B has a reference to A and it …

mongodb indexing spring-data-mongodb dbref
How to query through a DBRef in MongoDB/pymongo?

Is it possible to query through a DBRef using a single find spec? user collection { 'age': 30 } post collection { 'user': DBRef(…

reference mongodb pymongo dbref
Spring Data Mongo MongoDB DBRef lazy initialization

I'm using Spring + Spring Data MongoDB. My model is like this: @Document(collection = "actors") public class Actor extends DomainEntity { private …

spring spring-data spring-data-mongodb lazy-initialization dbref
mongodb - Construct DBRef with string or ObjectId

I've noticed that either a string or an object id could be used to construct a DBRef in mongodb. For …

mongodb objectid dbref
Finding documents by array of DBRefs

The solution is probably staring me in the face, but I haven't had any luck in finding it. My problem …

mongodb dbref