What is an array of aliases in fs.files?

I want to know more about MongoDB GridFS, so I looked through the manual .

It says:

files.aliases
Optional. An array of alias strings.

I know this field can contain an array of strings, but what are the values ​​inside this array? Alternative file names?

+4
source share
1 answer

Yes. For example, from the source code of the MongoDB csharp driver ( MongoGridFSFileInfo.cs, ln 474 ):

// copy all createOptions except Aliases (which are considered alternate filenames)

, , . , csharp . , , .

, , GridFS - MongoDB - - , . GridFS , , , , , . GridFS .

+3

Source: https://habr.com/ru/post/1570350/


All Articles