Skip to main content

ZSCORE

Syntax

ZSCORE key member

Module

sortedset

Categories

read fast sortedset

Description

Returns the score of the member in the sorted set.

Examples

Returns the score of the member in the sorted set:

db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
score, err := vault.ZScore("key", "member")