You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
fix SCAN
This commit is contained in:
@@ -30,7 +30,7 @@ export interface ScanOptions extends ScanCommonOptions {
|
|||||||
export default {
|
export default {
|
||||||
FIRST_KEY_INDEX: undefined,
|
FIRST_KEY_INDEX: undefined,
|
||||||
IS_READ_ONLY: true,
|
IS_READ_ONLY: true,
|
||||||
transformArguments(cursor: string, options?: ScanOptions) {
|
transformArguments(cursor: RedisArgument, options?: ScanOptions) {
|
||||||
const args = pushScanArguments(['SCAN'], cursor, options);
|
const args = pushScanArguments(['SCAN'], cursor, options);
|
||||||
|
|
||||||
if (options?.TYPE) {
|
if (options?.TYPE) {
|
||||||
|
Reference in New Issue
Block a user