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

← 全部命令