FireDAC.Stan.Param.FDVar2SQLTyped

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FDVar2SQLTyped(const AValue: Variant; AFieldType: TFDMacroDataType): String;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall FDVar2SQLTyped(const System::Variant &AValue, TFDMacroDataType AFieldType);

Properties

Type Visibility Source Unit Parent
function public
FireDAC.Stan.Param.pas
FireDAC.Stan.Param.hpp
FireDAC.Stan.Param FireDAC.Stan.Param

Description

Returns a string depending on the Variant and TFDMacroDataType types.

The FDVar2SQLTyped function returns a string depending on the AValue and AFieldType types.

AValue represents the value you want to convert.

AFieldType represents a TFDMacroDataType, which can be:

  • mdRaw
  • mdInteger
  • mdFloat
  • mdDate
  • mdTime
  • mdDateTime
  • mdString
  • mdIdentifier
  • mdBoolean
  • mdUnknown

See Also