You are not logged in.
Pages: 1
How to perform sorting of the results of a query using the methods Find* (FindJSON, FindDocs) of the TMongoCollection class?
It's possible to use Server.ExecuteJson([TSQLRecord, SQL]) method, which transmits $orderby by the $query operator, but these operators are deprecated.
Deprecated since version 3.2:
$query operator.
The $query operator is deprecated. Use the cursor methods to apply options to a cursor.
$orderby operator.
The $orderby operator is deprecated. Use cursor.sort() instead.
Offline
Pages: 1