FireDAC.Comp.DataSet.TFDBlobStream

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TMemoryStreamSystem.Classes.TCustomMemoryStreamSystem.Classes.TStreamSystem.TObjectTFDBlobStream
[–] Properties
Type: class
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: FireDAC.Comp.DataSet

Delphi

TFDBlobStream = class(TMemoryStream)

C++

class PASCALIMPLEMENTATION TFDBlobStream : public System::Classes::TMemoryStream

Description

TFDBlobStream is a stream object giving access to BLOB/Memo fields. Use the TFDBlobStream class to read or modify the value of the BLOB field. The BLOB field is one of the following data types:

  • ftBLOB (LONG RAW, byte, IMAGE, etc.)
  • ftMemo (LONG, TEXT, etc.)
  • ftWideMemo/ftFmtMem (NCLOB, NTEXT, etc.)
  • ftOraBLOB (BLOB)
  • ftOraClob (CLOB)

To create TFDBlobStream, use the CreateBlobStream method or just create the TFDBlobStream object explicitly using the Create constructor.

To modify the BLOB field content, the dataset must be in dsEdit/dsInsert mode and the ReadOnly field must be False.

See Also