microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.78k stars 5.37k forks source link

global command & key for a bulk insert #509

Open AnwaPeck opened 7 years ago

AnwaPeck commented 7 years ago

When doing a bulk insert I would like the option to associate a global command (e.g. "ZADD") and the option to associate a global key (e.g. "myBigSortedSet") with a Redis protocol file (being piped). It would then follow - if both options were used - that the piped file would only contain values, or in my sorted set case: scores and values. Please.

The advantages would be: