You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+1
Facing the same issue with a php application using doctrine mongodb odm. Currently i cannot use my already existing db with mongoose because mongodb DBRefs objects are not use to store references.
Maybe a another schema type (Schema.DBRef ?) should be added ?
That would load the document with the given infos.
Still no input from any Mongoose dev on this issue? This is a recurring problem that keeps coming up when you have more than one driver writing to and reading from the same database.
The Node driver does support DBRefs and I find it odd that Mongoose still has no support for it.
Hello,
I have problem with understanding something or it's bugged.
Let's start. Here is documentation about DBRefs:
http://docs.mongodb.org/manual/reference/database-references/#dbrefs
They write that structure for document with reference should be:
Now let's take a look on this example (example1):
https://gist.github.com/hastebrot/1170907
When I run this code I have something like that:
Story:
People:
The problem
In our team we have small application written in Java which use library for MongoDB but this library save data like in MongoDB documentation:
and I can't populate data because it seems like it works only for mongoose implementation.
Correct me if I'm wrong but for me it's like you not save DBRef like it's described in documentation.
The text was updated successfully, but these errors were encountered: