We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, newbie question here, how can I query by model reference? I would like to query all Topic-models of certain Forum, my models (simplified):
Topic
Forum
var Topic = new Schema({ uuid: { type: String, index: true, unique: true }, title: { type: String }, forum: { type: ObjectId, ref: "Forum", index: true }, }) var Forum = new Schema({ title: { type: String, required: true } });
I would like to
query TopicsByForum{ topics(forum:"nnn"){ forum{title} } }
The text was updated successfully, but these errors were encountered:
I made a PR for this issue #112
Sorry, something went wrong.
Dont think this is relay supported. Why would you have topics as a parent of forum anyways?
Makes more sense if it is like this:
query ForumTopics{ forum(title:"nnn"){ topics{ uuid title } } }
No branches or pull requests
Hi, newbie question here, how can I query by model reference?
I would like to query all
Topic
-models of certainForum
, my models (simplified):I would like to
The text was updated successfully, but these errors were encountered: