FireDAC.Phys.MongoDBWrapper.TMongoQuery.Sort

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Sort(const AJSON: String = ''): TSort;

C++

TSort* __fastcall Sort(const System::UnicodeString AJSON = System::UnicodeString());

Properties

Type Visibility Source Unit Parent
function public
FireDAC.Phys.MongoDBWrapper.pas
FireDAC.Phys.MongoDBWrapper.hpp
FireDAC.Phys.MongoDBWrapper TMongoQuery

Description

Returns a reference to a sort builder, which specifies the order in which the query returns matching documents. Optionally, you may specify a JSON string that represents this stage.

For more information, see MongoDB documentation.

See Also