FireDAC.Phys.MongoDBWrapper.TMongoQuery.TSort.TextScore
Delphi
function TextScore(const AName: String): TSort;
C++
TMongoQuery::TSort* __fastcall TextScore(const System::UnicodeString AName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TSort |
Description
Applies the "$meta: textScore" sort mode to the AName
attribute, and returns a reference to this query sorting object.
For more information about the "$meta: textScore" sort mode, see Metadata Sort and meta in MongoDB documentation.