FireDAC.Phys.SQLite.TFDSQLiteCollation.OnCompare

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCompare: TSQLiteCollationEvent read FOnCompare write SetOnCompare;

C++

__property Firedac::Phys::Sqlitewrapper::TSQLiteCollationEvent OnCompare = {read=FOnCompare, write=SetOnCompare};

Properties

Type Visibility Source Unit Parent
event published
FireDAC.Phys.SQLite.pas
FireDAC.Phys.SQLite.hpp
FireDAC.Phys.SQLite TFDSQLiteCollation

Description

The scCustomXxx compare strings event.

Use the OnCompare event handler to compare strings for CollationKind = scCompareUTF8 or UTF16. The event handler receives the strings in the specified CollationKind encodings, compares them and returns a comparison result through the AResult parameter.

See Also