Tagged Questions
0
votes
1answer
254 views
How to sort GridFS files by date using MongoDB Java Driver?
The GridFS API doesn't seem to have a .sort like to the DBCursor object has
Is there a way to sort by uploadDate (or any other GridFS metadata field)?
2
votes
0answers
321 views
How to reference GridFSFile with @DbRef annotation (spring data mongodb)
i have a spring @Document object Profile
i would like to reference GridFSFile like it :
@DbRef
private GridFSFile file;
the file is writen into another collection type GridFS.
I always have a ...
1
vote
1answer
1k views
Append data to existing gridfs file
As i can see java mongo driver does not provide capability to get OutputStream from existing gridFS file com.mongodb.gridfs.GridFSFile
I have to create GridFSInputFile directly or use ...