PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of mongoGridFSFileInfo variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
mongoGridFSFileInfo (Type of variable)
In french: mongoGridFSInfoFichier
The mongoGridFSFileInfo type is used to find out the advanced characteristics of a file found in a MongoDB database. The characteristics of this file are returned by several WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Versions 24 and later
WEBDEV - Server codeLinux This type of variable is now available for WEBDEV sites in Linux.
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
New in version 24
WEBDEV - Server codeLinux This type of variable is now available for WEBDEV sites in Linux.
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
WEBDEV - Server codeLinux This type of variable is now available for WEBDEV sites in Linux.
WINDEVLinux This type of variable is now available for WINDEV applications in Linux.
Example
tabListeFichier is array of mongoGridFSFileInfo
 
tabListeFichier = MongoGridFSListFile(CnxMDB.BaseDeDonnées["CRM"])
FOR EACH Fic OF tabListeFichier
// Traite le fichier
Trace(Fic.Nom)
END
Remarks

Properties specific to the description of mongoGridFSFileInfo variables

The following properties can be used to handle the file information:
Property nameType usedEffect
AliasArray of stringsArray of file alias names.

This property is read-only.
DateDateTimeCreation date of file in UTC format.

This property is read-only.
IDVariantFile identifier.

This property is read-only.
Md5Character stringHash key (md5) pre-calculated on the file content.

This property is read-only.
MetadataVariantAdditional data stored with the file.

This property is read-only.
NameCharacter stringFile name.

This property is read-only.
SizeIntegerFile size (in bytes).

This property is read-only.
ChunkSizeIntegerSize of file chunks.

This property is read-only.
ContentTypeCharacter stringType of content in MIME format.

This property is read-only.
Related Examples:
Native access to MongoDB Unit examples (WINDEV): Native access to MongoDB
[ + ] This example shows how to use the main functions of native access to MongoDB databases: adding data, reading (searching), modifying and deleting data in the database. The example also shows functions for saving files in the MongoDB GridFS data system.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment