MCPcopy
hub / github.com/mongodb/node-mongodb-native / find

Method find

src/gridfs/index.ts:192–194  ·  view source on GitHub ↗

Convenience wrapper around find on the files collection

(filter: Filter<GridFSFile> = {}, options: FindOptions = {})

Source from the content-addressed store, hash-verified

190
191 /** Convenience wrapper around find on the files collection */
192 find(filter: Filter<GridFSFile> = {}, options: FindOptions = {}): FindCursor<GridFSFile> {
193 return this.s._filesCollection.find(filter, options);
194 }
195
196 /**
197 * Returns a readable stream (GridFSBucketReadStream) for streaming the

Callers 8

testFunction · 0.95
handleReadResultFunction · 0.45
checkChunksIndexFunction · 0.45
checkIndexesFunction · 0.45
buildCommandDocumentMethod · 0.45
getKeysMethod · 0.45
fetchKeysMethod · 0.45

Calls

no outgoing calls

Tested by 1

testFunction · 0.76