Skip to content

Support for new LPOS command #1353

Closed
@aparcar

Description

@aparcar

Redis 6.0.6 will support a new command called LPOS

The command returns the index of matching elements inside a Redis list. By default, when no options are given, it will scan the list from head to tail, looking for the first match of "element". If the element is found, its index (the zero-based position in the list) is returned. Otherwise, if no match is found, NULL is returned.

Version: redis 6.0.6

Platform: all

Description: This is no bug report but a notification of the new command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions