The contents of the file are pulled out of MongoDB on the fly, so that the whole file does not have to be loaded into memory first.
At most two GridFSFile chunks will be loaded in memory.
public getResource ( ) : resource | ||
리턴 | resource | Returns a resource that can be used to read the file with |