Platforms to show: All Mac Windows Linux Cross-Platform
MongoGridFSFileMBS class New in 25.2
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MongoDB | MBS MongoDB Plugin | 25.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 11 properties
- 11 methods
- method Constructor Private
- method NewStream as MongoStreamMBS
- method Read(ByteCount as Integer, MinBytes as Integer = -1) as String
- method ReadAll as String
- method ReadAllMemory as MemoryBlock
- method ReadMemory(ByteCount as Integer, MinBytes as Integer = -1) as MemoryBlock
- method Remove
- method Save
- method Seek(delta as Int64, whence as Integer = 0)
- method Write(Data as MemoryBlock) as Integer
- method Write(Data as String) as Integer
- 3 constants
Seek Modes
Constant | Value | Description |
---|---|---|
SeekCurrent | 1 |
Position from current position. |
SeekEnd | 2 |
Position from end of file. |
SeekSet | 0 |
Position from start of file. |
This class has no sub classes.
Blog Entries
Release notes
- Version 25.2
- Added MongoStreamMBS, MongoGridFSFileMBS, MongoGridFSFileListMBS, MongoGridFSFileOptionsMBS and MongoGridFSMBS classes.
Some methods using this class:
- MongoGridFSFileListMBS.NextFile as MongoGridFSFileMBS
- MongoGridFSMBS.CreateFile(options as MongoGridFSFileOptionsMBS) as MongoGridFSFileMBS
- MongoGridFSMBS.CreateFileFromStream(stream as MongoStreamMBS, options as MongoGridFSFileOptionsMBS) as MongoGridFSFileMBS
- MongoGridFSMBS.Find2(filterJSON as String, OptionsJSON as String = "") as MongoGridFSFileMBS()
- MongoGridFSMBS.FindOne(filterJSON as String, OptionsJSON as String = "") as MongoGridFSFileMBS
- MongoGridFSMBS.FindOneByFileName(FileName as String) as MongoGridFSFileMBS
Some related classes:
- class MongoGridFSFileListMBS
- class MongoGridFSFileOptionsMBS
- class MongoGridFSMBS
- class MongoStreamMBS
The items on this page are in the following plugins: MBS MongoDB Plugin.
MongoGridFSFileListMBS - MongoGridFSFileOptionsMBS
