feat(server): SORT command prototype (#311)

feat(server): Implement SORT

Fixes #287

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
Co-authored-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
Vladislav 2022-09-23 07:17:49 +03:00 committed by GitHub
parent 082ac36ac1
commit 0377481e28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 514 additions and 140 deletions

View file

@ -6,6 +6,10 @@ String sizes are limited to 256MB.
Indices (say in GETRANGE and SETRANGE commands) should be signed 32 bit integers in range
[-2147483647, 2147483648].
### String handling.
SORT does not take any locale into account.
## Expiry ranges.
Expirations are limited to 4 years. For commands with millisecond precision like PEXPIRE or PSETEX,
expirations greater than 2^27ms are quietly rounded to the nearest second loosing precision of less than 0.001%.