FireDAC.Phys.MongoDBDataSet.TFDMongoStringsMode
Delphi
TFDMongoStringsMode = (Strict, Clip, Full);
C++
enum class DECLSPEC_DENUM TFDMongoStringsMode : unsigned int { Strict, Clip, Full };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FireDAC.Phys.MongoDBDataSet.pas FireDAC.Phys.MongoDBDataSet.hpp |
FireDAC.Phys.MongoDBDataSet | FireDAC.Phys.MongoDBDataSet |
Description
Defines an enumeration used to control the application behavior when a fetched string length exceeds the TField.Size value.
The values of TFDMongoStringsMode specifies a mode to control the application behavior when a fetched string length exceeds the TField.Size value.
This enumeration defines the following values:
Strict
(default): Raises an exception.Clip
: Clips the fetched string to fit it to the current TField.Size value.Full
: Fetches the whole string.