ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / Big Data / Managing Mongo files
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
Allows you to get information about a MongoDB file (gridFS).
Example
cntMDB is mongoConnection("srv-mongodb://db1.example.net")
gclGridFS is mongoGridFS
gclGridFS.Database = cntMDB.Database["CRM"]
Fi is mongoGridFSFileInfo
Fi = gclGridFS.GetFileInfo("product.png")
Trace(Fi.Size)
Trace(Fi.ContentType)
Syntax
<Result> = <File system>.GetFileInfo(<File name>)
<Result>: mongoGridFSFileInfo variable
MongoGridFSFileInfo variable containing information about the file.
<File system>: mongoGridFS variable
Name of the mongoGridFS variable that corresponds to the Mongo file system to use.
<File name>: Character string
Name of file found in the MongoDB file system whose information must be retrieved.
Component: wd290big.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help