We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1fc284d + 4455cc1 commit 5dd0079Copy full SHA for 5dd0079
src/main/scala/com/redis/ListOperations.scala
@@ -10,12 +10,12 @@ trait ListOperations { self: Redis =>
10
send("LPUSH", List(key, value) ::: values.toList)(asLong)
11
12
// LPUSHX (Variadic: >= 2.4)
13
- // add value to the tail of the list stored at key
+ // add value to the head of the list stored at key
14
def lpushx(key: Any, value: Any)(implicit format: Format): Option[Long] =
15
send("LPUSHX", List(key, value))(asLong)
16
17
// RPUSH (Variadic: >= 2.4)
18
- // add values to the head of the list stored at key
+ // add values to the tail of the list stored at key
19
def rpush(key: Any, value: Any, values: Any*)(implicit format: Format): Option[Long] =
20
send("RPUSH", List(key, value) ::: values.toList)(asLong)
21
0 commit comments