@@ -130,7 +130,7 @@ public Task<ZMember[]> ZRevRangeByScoreWithScoresAsync(string key, string max, s
130
130
public Task < long > ZRevRankAsync ( string key , string member ) => CallAsync ( "ZREVRANK" . InputKey ( key , member ) , rt => rt . ThrowOrValue < long > ( ) ) ;
131
131
132
132
//ZSCAN key cursor [MATCH pattern] [COUNT count]
133
- public Task < decimal > ZScoreAsync ( string key , string member ) => CallAsync ( "ZSCORE" . InputKey ( key , member ) , rt => rt . ThrowOrValue < decimal > ( ) ) ;
133
+ public Task < decimal ? > ZScoreAsync ( string key , string member ) => CallAsync ( "ZSCORE" . InputKey ( key , member ) , rt => rt . ThrowOrValue < decimal ? > ( ) ) ;
134
134
public Task < long > ZUnionStoreAsync ( string destination , string [ ] keys , int [ ] weights = null , ZAggregate ? aggregate = null ) => ZStoreAsync ( false , destination , keys , weights , aggregate ) ;
135
135
Task < long > ZStoreAsync ( bool inter , string destination , string [ ] keys , int [ ] weights , ZAggregate ? aggregate ) => CallAsync ( ( inter ? "ZINTERSTORE" : "ZUNIONSTORE" )
136
136
. InputKey ( destination , keys ? . Length ?? 0 )
@@ -260,7 +260,7 @@ public ZMember[] ZRevRangeByScoreWithScores(string key, string max, string min,
260
260
public long ZRevRank ( string key , string member ) => Call ( "ZREVRANK" . InputKey ( key , member ) , rt => rt . ThrowOrValue < long > ( ) ) ;
261
261
262
262
//ZSCAN key cursor [MATCH pattern] [COUNT count]
263
- public decimal ZScore ( string key , string member ) => Call ( "ZSCORE" . InputKey ( key , member ) , rt => rt . ThrowOrValue < decimal > ( ) ) ;
263
+ public decimal ? ZScore ( string key , string member ) => Call ( "ZSCORE" . InputKey ( key , member ) , rt => rt . ThrowOrValue < decimal ? > ( ) ) ;
264
264
public long ZUnionStore ( string destination , string [ ] keys , int [ ] weights = null , ZAggregate ? aggregate = null ) => ZStore ( false , destination , keys , weights , aggregate ) ;
265
265
long ZStore ( bool inter , string destination , string [ ] keys , int [ ] weights , ZAggregate ? aggregate ) => Call ( ( inter ? "ZINTERSTORE" : "ZUNIONSTORE" )
266
266
. InputKey ( destination , keys ? . Length ?? 0 )
0 commit comments