* Applies the $sort runtime projection. * ValidateSort is to handle a bug with $first where it passes the expression * as one of the sort specs */
| 2238 | * as one of the sort specs |
| 2239 | */ |
| 2240 | Datum |
| 2241 | BsonOrderby(pgbson *document, pgbson *filter, bool validateSort, const |
| 2242 | char *collationString) |
| 2243 | { |
| 2244 | CustomOrderByOptions options = CustomOrderByOptions_Default; |
| 2245 | return BsonOrderbyCore(document, filter, collationString, validateSort, options); |
| 2246 | } |
| 2247 | |
| 2248 | |
| 2249 | /* |
no test coverage detected