* fix(client): XCLAIM & XAUTOCLAIM after a TRIM might return nils
* fix(client): Fix race condition in specs
* revert test utils changes
* make tests faster
---------
Co-authored-by: Leibale Eidelman <me@leibale.com>
* Add support for command 'PUBSUB SHARDNUMSUB'
* Use import from PUBSUB_SHARDNUMSUB
* Add test case for non-empty reply
* clean tests
* run tests in redis >= 7, fix integration test
---------
Co-authored-by: Leibale Eidelman <me@leibale.com>
* - Added RESTORE functionality
* add FIRST_KEY_INDEX, fix tests, clean example, add example to examples table
* use returnBuffers in test
---------
Co-authored-by: Leibale Eidelman <me@leibale.com>
* Add support for NOCONTENT in FT.SEARCH
* Move support for NOCONTENT search option from client.search to client.searchNoContent
* Add test for SEARCH_NOCONTENT#transformReply
* Fix typo
* Enable test
* Update test field type
---------
Co-authored-by: Leibale <me@leibale.com>
* Support JSON.MERGE Command
* test only 2.6+ ReJson version
* test on edge
* review
* Update test-utils.ts
---------
Co-authored-by: Leibale Eidelman <me@leibale.com>
* Connect returns the instance of the client
* Added a test
* No auto setup
* Added a bit of docs
* fix the return type, test, and the docs
* fix return type
* Update packages/client/lib/client/index.spec.ts
Co-authored-by: Francisco Presencia <franciscop@users.noreply.github.com>
---------
Co-authored-by: Leibale Eidelman <me@leibale.com>
* Added MSET command
MSET command added. Requires all keys to have the same JSON Path, which might fit most use cases, but is a limitation. Optionally we could make the path an array as well to support all use cases.
* change JSON.MSET signature, add to json command object, fix tests
* its `item.value`, not `item.json`..
* Update MSET.ts
Removed unused RedisCommandArguments
---------
Co-authored-by: Leibale Eidelman <me@leibale.com>
* #2486: add timeout as optional param in FT.Search
* return timeout from aggregate
* add test case for TIMEOUT in aggregate
* add TIMEOUT option in search file
* add test cases for TIMEOUT option in search file
* uodate search/aggregates to add timeout when it is not undefuned
* update search to add timeout when it is not undefuned
* update test case for AGGREGATE