kevy

LPOS

Return the index of matching elements in a list.

構文LPOS key element [RANK rank] [COUNT num-matches] [MAXLEN len]
グループlist
引数の数-3
導入バージョン1.0.0
フラグreadonly
計算量O(N) always — the whole list is copied before RANK / COUNT / MAXLEN are applied, so MAXLEN bounds the comparisons but not the copy
Redis 互換性full

← すべてのコマンド