LPOSReturn 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 |