You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/gridfs/grid_store.js
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1063,6 +1063,7 @@ GridStore.IO_SEEK_END = 2;
1063
1063
* Checks if a file exists in the database.
1064
1064
*
1065
1065
* @method
1066
+
* @static
1066
1067
* @param {Db} db the database to query.
1067
1068
* @param {string} name The name of the file to look for.
1068
1069
* @param {string} [rootCollection] The root collection that holds the files and chunks collection. Defaults to **{GridStore.DEFAULT_ROOT_COLLECTION}**.
* @param {string} [rootCollection] The root collection that holds the files and chunks collection. Defaults to **{GridStore.DEFAULT_ROOT_COLLECTION}**.
0 commit comments