-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
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
db.rel.find doesn't have an option return attachments (only metadata)? #83
Comments
markandrewkato
changed the title
db.rel.find doesn't have an option return attachments?
db.rel.find doesn't have an option return attachments (only metadata)?
Sep 4, 2017
@markandrewkato I think you are right that there is no support for what you are looking to achieving. That is getting all the attachments for all the posts. The community is most likely going to have to add this. I may look into it as I am going to be adding some things of my own to the package. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys,
I am trying to fetch all the items with its attachments using db.rel.find. I've tried to add an option but no luck.
db.rel.find('post', { attachments: true })
I know there's a way to get attachments by using db.rel.getAttachment(type, id, attachmentId). But this one only gets an attachment of a single item.
The text was updated successfully, but these errors were encountered: