= 1.0.0 Valore di ritorno" />
English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Il comando redis DBSIZE viene utilizzato per restituire il numero di key nella database corrente.
La sintassi di base del comando redis DBSIZE è la seguente:
redis 127.0.0.1:6379> DBSIZE
>= 1.0.0
Il numero di key nella database corrente.
redis 127.0.0.1:6379> DBSIZE (intero) 5 redis 127.0.0.1:6379> SET new_key "hello_moto" # Prova a aggiungere una key OK redis 127.0.0.1:6379> DBSIZE (intero) 6