class Redis
def linsert(key, where, pivot, value)
-
(Integer)
- length of the list after the insert operation, or `-1`
Parameters:
-
value
(String
) -- -
pivot
(String
) -- reference element -
where
(String, Symbol
) -- `BEFORE` or `AFTER` -
key
(String
) --
def linsert(key, where, pivot, value) synchronize do |client| client.call([:linsert, key, where, pivot, value]) end end