You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-12-14 09:42:12 +03:00
(docs) add jsdoc comments to command parsers (#2984)
* (docs) bloom: add jsdocs for all commands * (docs) json: add jsdocs * (docs) search: add jsdocs for all commands * (docs) jsdocs for std commands * (docs) jsdoc comments to time series commands
This commit is contained in:
@@ -9,6 +9,14 @@ export interface FtCursorReadOptions {
|
||||
export default {
|
||||
NOT_KEYED_COMMAND: true,
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
* Reads from an existing cursor to get more results from an index.
|
||||
* @param parser - The command parser
|
||||
* @param index - The index name that contains the cursor
|
||||
* @param cursor - The cursor ID to read from
|
||||
* @param options - Optional parameters:
|
||||
* - COUNT: Maximum number of results to return
|
||||
*/
|
||||
parseCommand(parser: CommandParser, index: RedisArgument, cursor: UnwrapReply<NumberReply>, options?: FtCursorReadOptions) {
|
||||
parser.push('FT.CURSOR', 'READ', index, cursor.toString());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user