Skip to content
Rudis
Search
K
Main Navigation
Docs
简体中文
English
GitHub
Facebook
简体中文
English
Appearance
GitHub
Facebook
Menu
Return to top
On this page
Table of Contents for current page
LLEN
Redis Llen 命令用于返回列表的长度。如果列表键不存在,则将其解释为空列表并返回 0。如果键不是列表类型,则返回错误。
语法
LLEN key
返回值
列表的长度。