Add method to provide sorting direction to sort array aggregation.
Related to: #4929
Original Pull Request: #4935
Signed-off-by: Nathan McDonald <nathan.mcdonald@uk.ey.com>
- Added methods `byValueAscending()` and `byValueDescending()` to the SortArray class
to support sorting simple array types (e.g., integers, strings) in ascending and descending order.
- Updated tests to verify the correct functionality of sorting arrays by value.
- Refactored SortArray to handle sorting of simple types without requiring a property for sorting.
For more details, refer to: https://www.mongodb.com/docs/manual/reference/operator/aggregation/sortArray/Resolves: #4929
Original Pull Request: #4943
Signed-off-by: Ranzy Blessings <ranzyblessings.inbox@gmail.com>
- Introduce AOT fragment base class.
- Refactor Delete execution to be reusable.
- Add support for updates.
- Add support for aggregations.
- Move types to repository package.
- Update documentation.
See: #4939
This commit fixes an issue where id properties annotated with MongoId had not been converted into the desired target type when inserting a collection of objects instead a single one.
Resolves: #4944
Original pull request: #4945
This commit decouples queryable encryption from explicit encryption and introduces the Queryable annotation to represent different query types like range and equality.
Additionally it removes value conversion from range encryption and fixes update mapping of range encrypted fields.
Original Pull Request: #4885
This change makes sure basic update appends values to operations instead of overriding them. This change aligns the behaviour with Update and fixes issues where using the Update annotation with versioned entities can lead to loss of update information.
Closes: #4918
Original pull request: #4921
We now allow configuring the default representation for BigDecimal and BigInteger values, still defaulting to string. BigDecimal can be configured to use Decimal128 by default.
Closes: #3444
Original pull request: #4916