packages/search/lib/commands/CURSOR_DEL.ts
raw| 1 | import { RedisCommandArgument } from '@redis/client/dist/lib/commands'; |
| 2 | |
| 3 | export const FIRST_KEY_INDEX = 1; |
| 4 | |
| 5 | export function transformArguments(index: RedisCommandArgument, cursorId: number) { |
| 6 | return [ |
| 7 | 'FT.CURSOR', |
| 8 | 'DEL', |
| 9 | index, |
| 10 | cursorId.toString() |
| 11 | ]; |
| 12 | } |
| 13 | |
| 14 | export declare function transformReply(): 'OK'; |