Module: Redis::Commands::Hashes
- Included in:
- Redis::Commands
- Defined in:
- sig/redis.rbs
Instance Method Summary collapse
- #hdel ⇒ Integer
- #hexists ⇒ Boolean
- #hget ⇒ String?
- #hgetall ⇒ Hash[String, String]
- #hincrby ⇒ Integer
- #hincrbyfloat ⇒ Float
- #hkeys ⇒ Array[String]
- #hlen ⇒ Integer
- #hmget {|arg0| ... } ⇒ Array[String]
- #hmset ⇒ String
- #hrandfield ⇒ nil, ...
- #hscan ⇒ String, Array[[String, String]]
- #hscan_each ⇒ void
- #hset ⇒ Integer
- #hsetnx ⇒ Boolean
- #hvals ⇒ Array[String]
- #mapped_hmget ⇒ Hash[untyped, untyped]
- #mapped_hmset ⇒ String
Instance Method Details
#hdel ⇒ Integer
288 |
# File 'sig/redis.rbs', line 288
def hdel: (String key, *untyped fields) -> Integer
|
#hexists ⇒ Boolean
290 |
# File 'sig/redis.rbs', line 290
def hexists: (String key, String field) -> bool
|
#hget ⇒ String?
280 |
# File 'sig/redis.rbs', line 280
def hget: (String key, String field) -> String?
|
#hgetall ⇒ Hash[String, String]
300 |
# File 'sig/redis.rbs', line 300
def hgetall: (String key) -> Hash[String, String]
|
#hincrby ⇒ Integer
292 |
# File 'sig/redis.rbs', line 292
def hincrby: (String key, String field, Integer increment) -> Integer
|
#hincrbyfloat ⇒ Float
294 |
# File 'sig/redis.rbs', line 294
def hincrbyfloat: (String key, String field, Float increment) -> Float
|
#hkeys ⇒ Array[String]
296 |
# File 'sig/redis.rbs', line 296
def hkeys: (String key) -> Array[String]
|
#hlen ⇒ Integer
270 |
# File 'sig/redis.rbs', line 270
def hlen: (String key) -> Integer
|
#hmget {|arg0| ... } ⇒ Array[String]
282 |
# File 'sig/redis.rbs', line 282
def hmget: (String key, *Array[String] fields) { (?) -> untyped } -> Array[String]
|
#hmset ⇒ String
276 |
# File 'sig/redis.rbs', line 276
def hmset: (String key, *Array[String] attrs) -> String
|
#hrandfield ⇒ nil, ...
286 |
# File 'sig/redis.rbs', line 286
def hrandfield: (String key, ?Integer count, ?withvalues: bool, ?with_values: untyped) -> (nil | String | Array[String] | Array[[String, Float]])
|
#hscan ⇒ String, Array[[String, String]]
302 |
# File 'sig/redis.rbs', line 302
def hscan: (untyped key, (String | Integer) cursor, **Hash[untyped, untyped] options) -> (String | Array[[String, String]])
|
#hscan_each ⇒ void
This method returns an undefined value.
304 |
# File 'sig/redis.rbs', line 304
def hscan_each: (untyped key, **Hash[untyped, untyped] options) ?{ (?) -> untyped } -> Enumerator[untyped, untyped]
|
#hset ⇒ Integer
272 |
# File 'sig/redis.rbs', line 272
def hset: (String key, *(Array[String] | Hash[String, String]) attrs) -> Integer
|
#hsetnx ⇒ Boolean
274 |
# File 'sig/redis.rbs', line 274
def hsetnx: (String key, String field, String value) -> bool
|
#hvals ⇒ Array[String]
298 |
# File 'sig/redis.rbs', line 298
def hvals: (String key) -> Array[String]
|
#mapped_hmget ⇒ Hash[untyped, untyped]
284 |
# File 'sig/redis.rbs', line 284
def mapped_hmget: (String key, *Array[String] fields) -> Hash[untyped, untyped]
|
#mapped_hmset ⇒ String
278 |
# File 'sig/redis.rbs', line 278
def mapped_hmset: (String key, Hash[untyped, untyped] hash) -> String
|