diff --git a/data/command-api-mapping-status.json b/data/command-api-mapping-status.json index 8f29495df3..abf0ec06c2 100644 --- a/data/command-api-mapping-status.json +++ b/data/command-api-mapping-status.json @@ -1292,6 +1292,10 @@ "SSUBSCRIBE": { "redis_rs_sync": "generic_only" }, + "SUBSTR": { + "nredisstack_sync": "generic_only", + "nredisstack_async": "generic_only" + }, "SUNSUBSCRIBE": { "redis_rs_sync": "generic_only" }, diff --git a/data/command-api-mapping.json b/data/command-api-mapping.json index 7c6784aaaf..e60e38f9f2 100644 --- a/data/command-api-mapping.json +++ b/data/command-api-mapping.json @@ -2542,30 +2542,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringAppend(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to append to the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the string after the append operation." - } - }, { "signature": "StringAppend(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -2592,30 +2568,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringAppendAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to append to the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string after the append operation." - } - }, { "signature": "StringAppendAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -10390,98 +10342,6 @@ "type": "long", "description": "The number of bits set to 1." } - }, - { - "signature": "StringBitCountAsync(RedisKey key, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "start", - "type": "long", - "description": "" - }, - { - "name": "end", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitCountAsync(RedisKey key, long start = 0, long end = -1, StringIndexType indexType = StringIndexType.Byte, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "start", - "type": "long", - "description": "" - }, - { - "name": "end", - "type": "long", - "description": "" - }, - { - "name": "indexType", - "type": "StringIndexType", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitCount(RedisKey key, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "start", - "type": "long", - "description": "The start byte to count at." - }, - { - "name": "end", - "type": "long", - "description": "The end byte to count at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of bits set to 1." - } } ], "nredisstack_async": [ @@ -10610,35 +10470,6 @@ "type": "Task", "description": "The number of bits set to 1." } - }, - { - "signature": "StringBitCountAsync(RedisKey key, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "start", - "type": "long", - "description": "The start byte to count at." - }, - { - "name": "end", - "type": "long", - "description": "The end byte to count at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of bits set to 1." - } } ], "php": [ @@ -12188,6 +12019,42 @@ "description": "The size of the string stored in the destination key, that is equal to the size of the longest input string." } }, + { + "signature": "StringBitOperation(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", + "params": [ + { + "name": "operation", + "type": "Bitwise", + "description": "The operation to perform." + }, + { + "name": "destination", + "type": "RedisKey", + "description": "The destination key to store the result in." + }, + { + "name": "first", + "type": "RedisKey", + "description": "" + }, + { + "name": "second", + "type": "RedisKey", + "description": "" + }, + { + "name": "flags", + "type": "CommandFlags", + "description": "The flags to use for this operation." + } + ], + "returns": { + "type": "long", + "description": "The size of the string stored in the destination key, that is equal to the size of the longest input string." + } + } + ], + "nredisstack_async": [ { "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second = default, CommandFlags flags = CommandFlags.None)", "params": [ @@ -12252,169 +12119,70 @@ } }, { - "signature": "StringBitOperation(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "Bitwise", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The destination key to store the result in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The size of the string stored in the destination key, that is equal to the size of the longest input string." - } - } - ], - "nredisstack_async": [ - { - "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second = default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "Bitwise", - "description": "" - }, - { - "name": "destination", - "type": "RedisKey", - "description": "" - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "Bitwise", - "description": "" - }, - { - "name": "destination", - "type": "RedisKey", - "description": "" - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second = default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "Bitwise", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The destination key to store the result in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The size of the string stored in the destination key, that is equal to the size of the longest input string." - } - }, - { - "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "Bitwise", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The destination key to store the result in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys to get the bit values from." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The size of the string stored in the destination key, that is equal to the size of the longest input string." - } - }, - { - "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", + "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second = default, CommandFlags flags = CommandFlags.None)", + "params": [ + { + "name": "operation", + "type": "Bitwise", + "description": "The operation to perform." + }, + { + "name": "destination", + "type": "RedisKey", + "description": "The destination key to store the result in." + }, + { + "name": "first", + "type": "RedisKey", + "description": "" + }, + { + "name": "second", + "type": "RedisKey", + "description": "" + }, + { + "name": "flags", + "type": "CommandFlags", + "description": "The flags to use for this operation." + } + ], + "returns": { + "type": "Task", + "description": "The size of the string stored in the destination key, that is equal to the size of the longest input string." + } + }, + { + "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", + "params": [ + { + "name": "operation", + "type": "Bitwise", + "description": "The operation to perform." + }, + { + "name": "destination", + "type": "RedisKey", + "description": "The destination key to store the result in." + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "The keys to get the bit values from." + }, + { + "name": "flags", + "type": "CommandFlags", + "description": "The flags to use for this operation." + } + ], + "returns": { + "type": "Task", + "description": "The size of the string stored in the destination key, that is equal to the size of the longest input string." + } + }, + { + "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ { "name": "operation", @@ -13194,113 +12962,6 @@ "type": "long", "description": "The command returns the position of the first bit set to 1 or 0 according to the request. If we look for set bits(the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned." } - }, - { - "signature": "StringBitPositionAsync(RedisKey key, bool bit, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "bit", - "type": "bool", - "description": "" - }, - { - "name": "start", - "type": "long", - "description": "" - }, - { - "name": "end", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitPositionAsync(RedisKey key, bool bit, long start = 0, long end = -1, StringIndexType indexType = StringIndexType.Byte, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "bit", - "type": "bool", - "description": "" - }, - { - "name": "start", - "type": "long", - "description": "" - }, - { - "name": "end", - "type": "long", - "description": "" - }, - { - "name": "indexType", - "type": "StringIndexType", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitPosition(RedisKey key, bool bit, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "bit", - "type": "bool", - "description": "True to check for the first 1 bit, false to check for the first 0 bit." - }, - { - "name": "start", - "type": "long", - "description": "The position to start looking (defaults to 0)." - }, - { - "name": "end", - "type": "long", - "description": "The position to stop looking (defaults to -1, unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The command returns the position of the first bit set to 1 or 0 according to the request. If we look for set bits(the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned." - } } ], "nredisstack_async": [ @@ -13449,40 +13110,6 @@ "type": "Task", "description": "The command returns the position of the first bit set to 1 or 0 according to the request. If we look for set bits(the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned." } - }, - { - "signature": "StringBitPositionAsync(RedisKey key, bool bit, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "bit", - "type": "bool", - "description": "True to check for the first 1 bit, false to check for the first 0 bit." - }, - { - "name": "start", - "type": "long", - "description": "The position to start looking (defaults to 0)." - }, - { - "name": "end", - "type": "long", - "description": "The position to stop looking (defaults to -1, unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns the position of the first bit set to 1 or 0 according to the request. If we look for set bits(the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned." - } } ], "php": [ @@ -14112,40 +13739,6 @@ "description": "The element being popped and pushed, or null if the server timeout expires." } }, - { - "signature": "ListMove(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the list to remove from." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "The key of the list to move to." - }, - { - "name": "sourceSide", - "type": "ListSide", - "description": "What side of the sourceKey list to remove from." - }, - { - "name": "destinationSide", - "type": "ListSide", - "description": "What side of the destinationKey list to move to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The element being popped and pushed or Null if there is no element to move." - } - }, { "signature": "ListMove(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", "params": [ @@ -14182,40 +13775,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListMoveAsync(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the list to remove from." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "The key of the list to move to." - }, - { - "name": "sourceSide", - "type": "ListSide", - "description": "What side of the sourceKey list to remove from." - }, - { - "name": "destinationSide", - "type": "ListSide", - "description": "What side of the destinationKey list to move to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The element being popped and pushed or Null if there is no element to move." - } - }, { "signature": "ListMoveAsync(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", "params": [ @@ -14959,40 +14518,6 @@ "type": "Tuple>?", "description": "" } - }, - { - "signature": "BLMPop(db, timeout, [key], listSide, count)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "" - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "listSide", - "type": "Any", - "description": "" - }, - { - "name": "count", - "type": "Any", - "description": "" - } - ], - "returns": { - "type": "return", - "description": "" - } } ], "php": [ @@ -15056,6 +14581,66 @@ "description": "list of popped elements or nil" } } + ], + "nredisstack_async": [ + { + "signature": "BLMPopAsync(double timeout, RedisKey[] keys, ListSide listSide, long? count = null)", + "params": [ + { + "name": "timeout", + "type": "double", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "listSide", + "type": "ListSide", + "description": "" + }, + { + "name": "count", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task>?>", + "description": "" + } + }, + { + "signature": "BLMPopAsync(double timeout, RedisKey key, ListSide listSide, long? count = null)", + "params": [ + { + "name": "timeout", + "type": "double", + "description": "" + }, + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "listSide", + "type": "ListSide", + "description": "" + }, + { + "name": "count", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task>?>", + "description": "" + } + } ] } }, @@ -15493,30 +15078,6 @@ "type": "Tuple?", "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." } - }, - { - "signature": "BLPop(db, [key], timeout)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "The IDatabase class where this extension method is applied." - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." - } - ], - "returns": { - "type": "return", - "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." - } } ], "php": [ @@ -15560,6 +15121,46 @@ "description": "tuple of the list that was popped from and element" } } + ], + "nredisstack_async": [ + { + "signature": "BLPopAsync(RedisKey[] keys, double timeout)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." + } + }, + { + "signature": "BLPopAsync(RedisKey key, double timeout)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "The key to check." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." + } + } ] } }, @@ -15997,30 +15598,6 @@ "type": "Tuple?", "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." } - }, - { - "signature": "BRPop(db, [key], timeout)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "The IDatabase class where this extension method is applied." - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." - } - ], - "returns": { - "type": "return", - "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." - } } ], "php": [ @@ -16064,6 +15641,46 @@ "description": "tuple of the list that was popped from and element" } } + ], + "nredisstack_async": [ + { + "signature": "BRPopAsync(RedisKey[] keys, double timeout)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." + } + }, + { + "signature": "BRPopAsync(RedisKey key, double timeout)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "The key to check." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." + } + } ] } }, @@ -16486,6 +16103,32 @@ "description": "the element was popped and pushed" } } + ], + "nredisstack_async": [ + { + "signature": "BRPopLPushAsync(RedisKey source, RedisKey destination, double timeout)", + "params": [ + { + "name": "source", + "type": "RedisKey", + "description": "The key of the source list." + }, + { + "name": "destination", + "type": "RedisKey", + "description": "The key of the destination list." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task", + "description": "The element being popped and pushed, or null if the server timeout expires." + } + } ] } }, @@ -17298,40 +16941,6 @@ "type": "Tuple>?", "description": "" } - }, - { - "signature": "BZMPop(db, timeout, [key], minMaxModifier, count)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "" - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "minMaxModifier", - "type": "Any", - "description": "" - }, - { - "name": "count", - "type": "Any", - "description": "" - } - ], - "returns": { - "type": "return", - "description": "" - } } ], "php": [ @@ -17395,6 +17004,66 @@ "description": "list of popped elements and scores" } } + ], + "nredisstack_async": [ + { + "signature": "BZMPopAsync(double timeout, RedisKey[] keys, MinMaxModifier minMaxModifier, long? count = null)", + "params": [ + { + "name": "timeout", + "type": "double", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "minMaxModifier", + "type": "MinMaxModifier", + "description": "" + }, + { + "name": "count", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task>?>", + "description": "" + } + }, + { + "signature": "BZMPopAsync(double timeout, RedisKey key, MinMaxModifier minMaxModifier, long? count = null)", + "params": [ + { + "name": "timeout", + "type": "double", + "description": "" + }, + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "minMaxModifier", + "type": "MinMaxModifier", + "description": "" + }, + { + "name": "count", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task>?>", + "description": "" + } + } ] } }, @@ -17777,30 +17446,6 @@ "type": "Tuple?", "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." } - }, - { - "signature": "BZPopMax(db, [key], timeout)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "The IDatabase class where this extension method is applied." - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." - } - ], - "returns": { - "type": "return", - "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." - } } ], "php": [ @@ -17844,6 +17489,46 @@ "description": "a tuple of key, member and score" } } + ], + "nredisstack_async": [ + { + "signature": "BZPopMaxAsync(RedisKey[] keys, double timeout)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." + } + }, + { + "signature": "BZPopMaxAsync(RedisKey key, double timeout)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "The key to check." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." + } + } ] } }, @@ -18226,30 +17911,6 @@ "type": "Tuple?", "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." } - }, - { - "signature": "BZPopMin(db, [key], timeout)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "The IDatabase class where this extension method is applied." - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." - } - ], - "returns": { - "type": "return", - "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." - } } ], "php": [ @@ -18293,6 +17954,46 @@ "description": "a tuple of key, member and score" } } + ], + "nredisstack_async": [ + { + "signature": "BZPopMinAsync(RedisKey[] keys, double timeout)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." + } + }, + { + "signature": "BZPopMinAsync(RedisKey key, double timeout)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "The key to check." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." + } + } ] } }, @@ -30306,54 +30007,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringDecrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the decrement." - } - }, - { - "signature": "StringDecrement(RedisKey key, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "double", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double", - "description": "The value of key after the decrement." - } - }, { "signature": "StringDecrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -30404,54 +30057,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringDecrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the decrement." - } - }, - { - "signature": "StringDecrementAsync(RedisKey key, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "double", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the decrement." - } - }, { "signature": "StringDecrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -30899,54 +30504,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringDecrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the decrement." - } - }, - { - "signature": "StringDecrement(RedisKey key, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "double", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double", - "description": "The value of key after the decrement." - } - }, { "signature": "StringDecrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -30997,54 +30554,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringDecrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the decrement." - } - }, - { - "signature": "StringDecrementAsync(RedisKey key, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "double", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the decrement." - } - }, { "signature": "StringDecrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -47023,64 +46532,6 @@ "type": "long", "description": "The number of elements that were added to the set, not including all the elements already present into the set." } - }, - { - "signature": "GeoAdd(RedisKey key, double longitude, double latitude, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "longitude", - "type": "double", - "description": "" - }, - { - "name": "latitude", - "type": "double", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, - { - "signature": "GeoAdd(RedisKey key, GeoEntry value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "GeoEntry", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } } ], "nredisstack_async": [ @@ -47165,64 +46616,6 @@ "type": "Task", "description": "The number of elements that were added to the set, not including all the elements already present into the set." } - }, - { - "signature": "GeoAddAsync(RedisKey key, double longitude, double latitude, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "longitude", - "type": "double", - "description": "" - }, - { - "name": "latitude", - "type": "double", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, - { - "signature": "GeoAddAsync(RedisKey key, GeoEntry value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "GeoEntry", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } } ], "php": [ @@ -47857,108 +47250,6 @@ "type": "double?", "description": "The command returns the distance as a double (represented as a string) in the specified unit, or null if one or both the elements are missing." } - }, - { - "signature": "GeoDistanceAsync(RedisKey key, RedisValue member1, RedisValue member2, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "member1", - "type": "RedisValue", - "description": "" - }, - { - "name": "member2", - "type": "RedisValue", - "description": "" - }, - { - "name": "unit", - "type": "GeoUnit", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "GeoDistance(RedisKey key, RedisValue member1, RedisValue member2, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member1", - "type": "RedisValue", - "description": "The first member to check." - }, - { - "name": "member2", - "type": "RedisValue", - "description": "The second member to check." - }, - { - "name": "unit", - "type": "GeoUnit", - "description": "The unit of distance to return (defaults to meters)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double?", - "description": "The command returns the distance as a double (represented as a string) in the specified unit, or null if one or both the elements are missing." - } - }, - { - "signature": "GeoDistanceAsync(RedisKey key, RedisValue value0, RedisValue value1, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "value0", - "type": "RedisValue", - "description": "" - }, - { - "name": "value1", - "type": "RedisValue", - "description": "" - }, - { - "name": "unit", - "type": "GeoUnit", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "nredisstack_async": [ @@ -48030,40 +47321,6 @@ "description": "The command returns the distance as a double (represented as a string) in the specified unit, or null if one or both the elements are missing." } }, - { - "signature": "GeoDistanceAsync(RedisKey key, RedisValue member1, RedisValue member2, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member1", - "type": "RedisValue", - "description": "The first member to check." - }, - { - "name": "member2", - "type": "RedisValue", - "description": "The second member to check." - }, - { - "name": "unit", - "type": "GeoUnit", - "description": "The unit of distance to return (defaults to meters)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns the distance as a double (represented as a string) in the specified unit, or null if one or both the elements are missing." - } - }, { "signature": "GeoDistanceAsync(RedisKey key, RedisValue value0, RedisValue value1, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", "params": [ @@ -48467,78 +47724,6 @@ } ], "nredisstack_sync": [ - { - "signature": "GeoHash(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "string?[]", - "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." - } - }, - { - "signature": "GeoHash(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "string?", - "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." - } - }, - { - "signature": "GeoHashAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "GeoHash(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", "params": [ @@ -48637,54 +47822,6 @@ "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." } }, - { - "signature": "GeoHashAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." - } - }, - { - "signature": "GeoHashAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." - } - }, { "signature": "GeoHashAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ @@ -49124,7 +48261,9 @@ "type": "GeoPosition?", "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." } - }, + } + ], + "nredisstack_async": [ { "signature": "GeoPositionAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ @@ -49149,128 +48288,6 @@ "description": "" } }, - { - "signature": "GeoPosition(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "GeoPosition?[]", - "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." - } - }, - { - "signature": "GeoPosition(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "GeoPosition?", - "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." - } - } - ], - "nredisstack_async": [ - { - "signature": "GeoPositionAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "GeoPositionAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." - } - }, - { - "signature": "GeoPositionAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." - } - }, { "signature": "GeoPositionAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", "params": [ @@ -52152,109 +51169,6 @@ "description": "The results found within the shape, if any." } }, - { - "signature": "GeoSearch(RedisKey key, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "longitude", - "type": "double", - "description": "The longitude of the center point." - }, - { - "name": "latitude", - "type": "double", - "description": "The latitude of the center point." - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "options", - "type": "GeoRadiusOptions", - "description": "The search options to use." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "GeoRadiusResult[]", - "description": "The results found within the shape, if any." - } - }, - { - "signature": "GeoSearch(RedisKey key, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "options", - "type": "GeoRadiusOptions", - "description": "The search options to use." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "GeoRadiusResult[]", - "description": "The results found within the shape, if any." - } - }, { "signature": "GeoSearch(RedisKey key, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", "params": [ @@ -52360,109 +51274,6 @@ "description": "The results found within the shape, if any." } }, - { - "signature": "GeoSearchAsync(RedisKey key, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "longitude", - "type": "double", - "description": "The longitude of the center point." - }, - { - "name": "latitude", - "type": "double", - "description": "The latitude of the center point." - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "options", - "type": "GeoRadiusOptions", - "description": "The search options to use." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The results found within the shape, if any." - } - }, - { - "signature": "GeoSearchAsync(RedisKey key, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "options", - "type": "GeoRadiusOptions", - "description": "The search options to use." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The results found within the shape, if any." - } - }, { "signature": "GeoSearchAsync(RedisKey key, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", "params": [ @@ -53169,173 +51980,6 @@ "type": "long", "description": "" } - }, - { - "signature": "GeoSearchAndStoreAsync(RedisKey sourceKey, RedisKey destinationKey, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, bool storeDistances = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "" - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "" - }, - { - "name": "count", - "type": "int", - "description": "" - }, - { - "name": "demandClosest", - "type": "bool", - "description": "" - }, - { - "name": "order", - "type": "Order?", - "description": "" - }, - { - "name": "storeDistances", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "GeoSearchAndStoreAsync(RedisKey sourceKey, RedisKey destinationKey, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, bool storeDistances = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "" - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "" - }, - { - "name": "longitude", - "type": "double", - "description": "" - }, - { - "name": "latitude", - "type": "double", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "" - }, - { - "name": "count", - "type": "int", - "description": "" - }, - { - "name": "demandClosest", - "type": "bool", - "description": "" - }, - { - "name": "order", - "type": "Order?", - "description": "" - }, - { - "name": "storeDistances", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "GeoSearchAndStore(RedisKey sourceKey, RedisKey destinationKey, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, bool storeDistances = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": ". " - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "storeDistances", - "type": "bool", - "description": "If set to true, the resulting set will be a regular sorted-set containing only distances, rather than a geo-encoded sorted-set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "long", - "description": "" - } } ], "nredisstack_async": [ @@ -53564,60 +52208,6 @@ "type": "Task", "description": "" } - }, - { - "signature": "GeoSearchAndStoreAsync(RedisKey sourceKey, RedisKey destinationKey, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, bool storeDistances = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": ". " - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "storeDistances", - "type": "bool", - "description": "If set to true, the resulting set will be a regular sorted-set containing only distances, rather than a geo-encoded sorted-set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "php": [ @@ -53884,63 +52474,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringGet(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The values of the strings with Null for keys do not exist." - } - }, - { - "signature": "StringGet(RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the strings." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "The values of the strings with Null for keys do not exist." - } - }, - { - "signature": "StringGet(key, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The values of the strings with Null for keys do not exist." - } - }, { "signature": "StringGet(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -53981,63 +52514,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringGetAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The values of the strings with Null for keys do not exist." - } - }, - { - "signature": "StringGetAsync(RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the strings." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The values of the strings with Null for keys do not exist." - } - }, - { - "signature": "StringGet(key, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The values of the strings with Null for keys do not exist." - } - }, { "signature": "StringGetAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -54376,78 +52852,6 @@ "type": "bool", "description": "The bit value stored at offset." } - }, - { - "signature": "StringGetBitAsync(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringGetBit(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to get a bit at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The bit value stored at offset." - } - }, - { - "signature": "StringGetBitAsync(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "nredisstack_async": [ @@ -54498,54 +52902,6 @@ "type": "Task", "description": "The bit value stored at offset." } - }, - { - "signature": "StringGetBitAsync(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to get a bit at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The bit value stored at offset." - } - }, - { - "signature": "StringGetBitAsync(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "php": [ @@ -54744,25 +53100,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringGetDelete(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The value of key, or Null when key does not exist." - } - }, { "signature": "StringGetDelete(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -54784,25 +53121,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringGetDeleteAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key, or Null when key does not exist." - } - }, { "signature": "StringGetDeleteAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -55211,54 +53529,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringGetSetExpiry(RedisKey key, TimeSpan? expiry, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "expiry", - "type": "TimeSpan?", - "description": "The exact date and time to expire at. MaxValue will remove expiry." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The value of key, or Null when key does not exist." - } - }, - { - "signature": "StringGetSetExpiry(RedisKey key, DateTime expiry, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date and time to expire at. MaxValue will remove expiry." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The value of key, or Null when key does not exist." - } - }, { "signature": "StringGetSetExpiry(RedisKey key, TimeSpan? expiry, CommandFlags flags = CommandFlags.None)", "params": [ @@ -55309,54 +53579,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringGetSetExpiryAsync(RedisKey key, TimeSpan? expiry, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "expiry", - "type": "TimeSpan?", - "description": "The exact date and time to expire at. MaxValue will remove expiry." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key, or Null when key does not exist." - } - }, - { - "signature": "StringGetSetExpiryAsync(RedisKey key, DateTime expiry, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date and time to expire at. MaxValue will remove expiry." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key, or Null when key does not exist." - } - }, { "signature": "StringGetSetExpiryAsync(RedisKey key, TimeSpan? expiry, CommandFlags flags = CommandFlags.None)", "params": [ @@ -55776,59 +53998,6 @@ "type": "RedisValue", "description": "The substring of the string value stored at key." } - }, - { - "signature": "StringGetRange(RedisKey key, long start, long end, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the substring to get." - }, - { - "name": "end", - "type": "long", - "description": "The end index of the substring to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The substring of the string value stored at key." - } - }, - { - "signature": "GetRange(double value, Exclude exclude, bool isStart)", - "params": [ - { - "name": "value", - "type": "double", - "description": "" - }, - { - "name": "exclude", - "type": "Exclude", - "description": "" - }, - { - "name": "isStart", - "type": "bool", - "description": "" - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } } ], "nredisstack_async": [ @@ -55860,59 +54029,6 @@ "type": "Task", "description": "The substring of the string value stored at key." } - }, - { - "signature": "StringGetRangeAsync(RedisKey key, long start, long end, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the substring to get." - }, - { - "name": "end", - "type": "long", - "description": "The end index of the substring to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The substring of the string value stored at key." - } - }, - { - "signature": "GetRange(double value, Exclude exclude, bool isStart)", - "params": [ - { - "name": "value", - "type": "double", - "description": "" - }, - { - "name": "exclude", - "type": "Exclude", - "description": "" - }, - { - "name": "isStart", - "type": "bool", - "description": "" - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } } ], "php": [ @@ -56192,30 +54308,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringGetSet(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to replace the existing value with." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The old value stored at key, or Null when key did not exist." - } - }, { "signature": "StringGetSet(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -56242,30 +54334,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringGetSetAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to replace the existing value with." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The old value stored at key, or Null when key did not exist." - } - }, { "signature": "StringGetSetAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -56596,54 +54664,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of fields that were removed." - } - }, - { - "signature": "HashDelete(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to delete." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of fields that were removed." - } - }, { "signature": "HashDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -56694,54 +54714,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of fields that were removed." - } - }, - { - "signature": "HashDeleteAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to delete." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of fields that were removed." - } - }, { "signature": "HashDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -57148,30 +55120,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashExists(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to check." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the hash contains field, false if the hash does not contain field, or key does not exist." - } - }, { "signature": "HashExists(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -57198,30 +55146,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashExistsAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to check." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the hash contains field, false if the hash does not contain field, or key does not exist." - } - }, { "signature": "HashExistsAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -58361,74 +56285,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -58499,74 +56355,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -59372,74 +57160,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -59510,74 +57230,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -59896,30 +57548,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldGetExpireDateTime(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long[]", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Expiration time, as a Unix timestamp in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetExpireDateTime(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -59946,30 +57574,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldGetExpireDateTimeAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Expiration time, as a Unix timestamp in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetExpireDateTimeAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -60215,54 +57819,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashGet(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashGet(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -60313,54 +57869,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashGetAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashGetAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashGetAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -60684,25 +58192,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashGetAll(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash to get all entries from." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "HashEntry[]", - "description": "List of fields and their values stored in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashGetAll(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -60724,25 +58213,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashGetAllAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash to get all entries from." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of fields and their values stored in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashGetAllAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -61045,54 +58515,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldGetAndDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashFieldGetAndDelete(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashFieldGetAndDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -61143,54 +58565,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldGetAndDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashFieldGetAndDeleteAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashFieldGetAndDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -61763,40 +59137,6 @@ "type": "RedisValue[]", "description": "The values of the specified hash fields." } - }, - { - "signature": "HashFieldGetAndSetExpiry(RedisKey key, RedisValue hashField, TimeSpan? expiry = null, bool persist = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "expiry", - "type": "TimeSpan?", - "description": "The exact date and time to set the expiration to." - }, - { - "name": "persist", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The values of the specified hash fields." - } } ], "nredisstack_async": [ @@ -61925,40 +59265,6 @@ "type": "Task", "description": "The values of the specified hash fields." } - }, - { - "signature": "HashFieldGetAndSetExpiryAsync(RedisKey key, RedisValue hashField, TimeSpan? expiry = null, bool persist = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "expiry", - "type": "TimeSpan?", - "description": "The exact date and time to set the expiration to." - }, - { - "name": "persist", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The values of the specified hash fields." - } } ], "php": [ @@ -63165,35 +60471,6 @@ "type": "double", "description": "The value at field after the increment operation." } - }, - { - "signature": "HashDecrement(RedisKey key, RedisValue hashField, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to decrement." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value at field after the decrement operation." - } } ], "nredisstack_async": [ @@ -63312,35 +60589,6 @@ "type": "Task", "description": "The value at field after the increment operation." } - }, - { - "signature": "HashDecrementAsync(RedisKey key, RedisValue hashField, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to decrement." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value at field after the decrement operation." - } } ], "php": [ @@ -63699,93 +60947,6 @@ "type": "double", "description": "The value at field after the increment operation." } - }, - { - "signature": "HashIncrement(key, hashField, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "Any", - "description": "The field in the hash to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value at field after the increment operation." - } - }, - { - "signature": "HashIncrement(key, hashField, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "Any", - "description": "The field in the hash to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value at field after the increment operation." - } - }, - { - "signature": "HashIncrement(RedisKey key, RedisValue hashField, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to increment." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value at field after the increment operation." - } } ], "nredisstack_async": [ @@ -63846,93 +61007,6 @@ "type": "Task", "description": "The value at field after the increment operation." } - }, - { - "signature": "HashIncrement(key, hashField, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "Any", - "description": "The field in the hash to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value at field after the increment operation." - } - }, - { - "signature": "HashIncrement(key, hashField, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "Any", - "description": "The field in the hash to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value at field after the increment operation." - } - }, - { - "signature": "HashIncrementAsync(RedisKey key, RedisValue hashField, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to increment." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value at field after the increment operation." - } } ], "php": [ @@ -64219,25 +61293,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashKeys(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of fields in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashKeys(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -64259,25 +61314,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashKeysAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of fields in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashKeysAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -64519,25 +61555,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of fields in the hash, or 0 when key does not exist." - } - }, { "signature": "HashLength(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -64559,25 +61576,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of fields in the hash, or 0 when key does not exist." - } - }, { "signature": "HashLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -64927,54 +61925,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashGet(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashGet(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -65025,54 +61975,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashGetAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashGetAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashGetAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -65511,64 +62413,6 @@ "type": "bool", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } - }, - { - "signature": "HashSet(RedisKey key, RedisValue hashField, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field to set in the hash." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to set." - }, - { - "name": "when", - "type": "When", - "description": "Which conditions under which to set the field value (defaults to always)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } - }, - { - "signature": "HashSet(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "HashEntry[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "void", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } } ], "nredisstack_async": [ @@ -65629,64 +62473,6 @@ "type": "Task", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } - }, - { - "signature": "HashSetAsync(RedisKey key, RedisValue hashField, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field to set in the hash." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to set." - }, - { - "name": "when", - "type": "When", - "description": "Which conditions under which to set the field value (defaults to always)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } - }, - { - "signature": "HashSetAsync(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "HashEntry[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } } ], "php": [ @@ -66982,30 +63768,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldPersist(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to remove expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "PersistResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description 1 Expiration time was removed. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldPersist(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -67032,30 +63794,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldPersistAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to remove expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description 1 Expiration time was removed. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldPersistAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -68174,74 +64912,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -68312,74 +64982,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -69691,30 +66293,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldGetTimeToLive(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long[]", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Time to live, in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetTimeToLive(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -69741,30 +66319,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldGetTimeToLiveAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Time to live, in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetTimeToLiveAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -70100,25 +66654,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashRandomField(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "A random hash field name or Null if the hash does not exist." - } - }, { "signature": "HashRandomField(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -70140,25 +66675,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashRandomFieldAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A random hash field name or Null if the hash does not exist." - } - }, { "signature": "HashRandomFieldAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -70916,35 +67432,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashScan(RedisKey key, RedisValue pattern, int pageSize, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "pattern", - "type": "RedisValue", - "description": "The pattern of keys to get entries for." - }, - { - "name": "pageSize", - "type": "int", - "description": "The page size to iterate by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "IEnumerable", - "description": "Yields all elements of the hash matching the pattern." - } - }, { "signature": "HashScanAsync(RedisKey key, RedisValue pattern = default, int pageSize = RedisBase.CursorUtils.DefaultLibraryPageSize, long cursor = RedisBase.CursorUtils.Origin, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -71471,59 +67958,35 @@ } } ], - "redis_rs_async": [ - { - "signature": "hset(key: K, field: F, value: V)", - "params": [ - { - "name": "key", - "type": "K", - "description": "" - }, - { - "name": "field", - "type": "F", - "description": "" - }, - { - "name": "value", - "type": "V", - "description": "" - } - ], - "returns": { - "type": "(usize)", - "description": "" - } - } - ], - "nredisstack_sync": [ + "redis_rs_async": [ { - "signature": "HashSet(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", + "signature": "hset(key: K, field: F, value: V)", "params": [ { "name": "key", - "type": "RedisKey", - "description": "The key of the hash." + "type": "K", + "description": "" }, { - "name": "hashFields", - "type": "HashEntry[]", + "name": "field", + "type": "F", "description": "" }, { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." + "name": "value", + "type": "V", + "description": "" } ], "returns": { - "type": "void", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." + "type": "(usize)", + "description": "" } - }, + } + ], + "nredisstack_sync": [ { - "signature": "HashSet(RedisKey key, RedisValue hashField, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", + "signature": "HashSet(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ { "name": "key", @@ -71531,19 +67994,9 @@ "description": "The key of the hash." }, { - "name": "hashField", - "type": "RedisValue", - "description": "The field to set in the hash." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to set." - }, - { - "name": "when", - "type": "When", - "description": "Which conditions under which to set the field value (defaults to always)." + "name": "hashFields", + "type": "HashEntry[]", + "description": "" }, { "name": "flags", @@ -71552,7 +68005,7 @@ } ], "returns": { - "type": "bool", + "type": "void", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } }, @@ -71589,30 +68042,6 @@ "type": "bool", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } - }, - { - "signature": "HashSet(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "HashEntry[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "void", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } } ], "nredisstack_async": [ @@ -71673,64 +68102,6 @@ "type": "Task", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } - }, - { - "signature": "HashSetAsync(RedisKey key, RedisValue hashField, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field to set in the hash." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to set." - }, - { - "name": "when", - "type": "When", - "description": "Which conditions under which to set the field value (defaults to always)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } - }, - { - "signature": "HashSetAsync(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "HashEntry[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } } ], "php": [ @@ -72759,30 +69130,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashStringLength(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field containing the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the string at field, or 0 when key does not exist." - } - }, { "signature": "HashStringLength(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -72809,30 +69156,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashStringLengthAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field containing the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string at field, or 0 when key does not exist." - } - }, { "signature": "HashStringLengthAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -73097,30 +69420,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldGetTimeToLive(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long[]", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Time to live, in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetTimeToLive(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -73147,30 +69446,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldGetTimeToLiveAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Time to live, in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetTimeToLiveAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -73470,25 +69745,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashValues(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of values in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashValues(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -73510,25 +69766,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashValuesAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashValuesAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -73970,78 +70207,6 @@ "type": "double", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the increment." - } } ], "nredisstack_async": [ @@ -74092,78 +70257,6 @@ "type": "Task", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the increment." - } } ], "php": [ @@ -74611,78 +70704,6 @@ "type": "double", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the increment." - } } ], "nredisstack_async": [ @@ -74733,78 +70754,6 @@ "type": "Task", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the increment." - } } ], "php": [ @@ -75112,78 +71061,6 @@ "type": "double", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the increment." - } } ], "nredisstack_async": [ @@ -75234,78 +71111,6 @@ "type": "Task", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the increment." - } } ], "php": [ @@ -76151,6 +71956,32 @@ "description": "the new array length(s); an Array for a JSONPath, a single Integer for a legacy path (nil for a match that is not an array)" } } + ], + "nredisstack_async": [ + { + "signature": "ArrAppendAsync(RedisKey key, string? path = null, params object[] values)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + }, + { + "name": "values", + "type": "object[]", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -76860,6 +72691,42 @@ "description": "the index/indices of the first match (-1 if not found)" } } + ], + "nredisstack_async": [ + { + "signature": "ArrIndexAsync(RedisKey key, string path, object value, long? start = null, long? stop = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "value", + "type": "object", + "description": "" + }, + { + "name": "start", + "type": "long?", + "description": "" + }, + { + "name": "stop", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -77367,6 +73234,37 @@ "description": "the new array length(s)" } } + ], + "nredisstack_async": [ + { + "signature": "ArrInsertAsync(RedisKey key, string path, long index, params object[] values)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "index", + "type": "long", + "description": "" + }, + { + "name": "values", + "type": "object[]", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -77703,6 +73601,27 @@ "description": "the array length(s); nil for a match that is not an array, or when the key/path does not exist" } } + ], + "nredisstack_async": [ + { + "signature": "ArrLenAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -78199,6 +74118,32 @@ "description": "the popped value(s); an Array for a JSONPath, a single value for a legacy path, nil for an empty array or a non-array match" } } + ], + "nredisstack_async": [ + { + "signature": "ArrPopAsync(RedisKey key, string? path = null, long? index = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + }, + { + "name": "index", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -78584,6 +74529,37 @@ "description": "the new array length(s)" } } + ], + "nredisstack_async": [ + { + "signature": "ArrTrimAsync(RedisKey key, string path, long start, long stop)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "start", + "type": "long", + "description": "" + }, + { + "name": "stop", + "type": "long", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -78934,6 +74910,27 @@ "description": "the number of values cleared" } } + ], + "nredisstack_async": [ + { + "signature": "ClearAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -79060,6 +75057,27 @@ "description": "the size(s) in bytes: an Array for a JSONPath, a single integer for a legacy path or when no path is given (0 for a missing key)" } } + ], + "nredisstack_async": [ + { + "signature": "DebugMemoryAsync(string key, string? path = null)", + "params": [ + { + "name": "key", + "type": "string", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -79410,6 +75428,27 @@ "description": "the number of values deleted" } } + ], + "nredisstack_async": [ + { + "signature": "DelAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -79503,6 +75542,27 @@ "description": "the number of values deleted (alias of json_del)" } } + ], + "nredisstack_async": [ + { + "signature": "ForgetAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -79848,7 +75908,7 @@ } ], "returns": { - "type": "public T?", + "type": "T?", "description": "" } } @@ -79956,6 +76016,32 @@ "description": "the parsed JSON value (or the raw JSON string when raw is true), or nil if the key does not exist" } } + ], + "nredisstack_async": [ + { + "signature": "GetAsync(RedisKey key, string path = \"$\", JsonSerializerOptions? serializerOptions = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "serializerOptions", + "type": "JsonSerializerOptions?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -80360,6 +76446,61 @@ "description": "the raw \"OK\" reply" } } + ], + "nredisstack_async": [ + { + "signature": "MergeAsync(RedisKey key, RedisValue path, RedisValue json)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "RedisValue", + "description": "" + }, + { + "name": "json", + "type": "RedisValue", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + }, + { + "signature": "MergeAsync(RedisKey key, RedisValue path, object obj, JsonSerializerOptions? serializerOptions = default)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "RedisValue", + "description": "" + }, + { + "name": "obj", + "type": "object", + "description": "" + }, + { + "name": "serializerOptions", + "type": "JsonSerializerOptions?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -80726,6 +76867,27 @@ "description": "one value per key (nil for a missing key/path)" } } + ], + "nredisstack_async": [ + { + "signature": "MGetAsync(RedisKey[] keys, string path)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -80916,6 +77078,22 @@ "description": "the raw \"OK\" reply" } } + ], + "nredisstack_async": [ + { + "signature": "MSetAsync(KeyPathValue[] KeyPathValueList)", + "params": [ + { + "name": "KeyPathValueList", + "type": "KeyPathValue[]", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -81261,6 +77439,32 @@ "description": "the new value(s): an Array for a JSONPath, a single number for a legacy path; nil (or nil element) for a non-numeric match" } } + ], + "nredisstack_async": [ + { + "signature": "NumIncrbyAsync(RedisKey key, string path, double value)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "value", + "type": "double", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -81597,6 +77801,27 @@ "description": "an array of key-name arrays (JSONPath) or a single array of key names (legacy path); nil for a non-object match" } } + ], + "nredisstack_async": [ + { + "signature": "ObjKeysAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task>>", + "description": "" + } + } ] } }, @@ -81933,6 +78158,27 @@ "description": "the key count(s): an Array for a JSONPath, a single integer for a legacy path; nil for a non-object match" } } + ], + "nredisstack_async": [ + { + "signature": "ObjLenAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -82000,6 +78246,27 @@ "description": "" } } + ], + "nredisstack_async": [ + { + "signature": "RespAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -82579,35 +78846,6 @@ } ], "nredisstack_sync": [ - { - "signature": "Set(key, path, json, when)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "" - }, - { - "name": "path", - "type": "Any", - "description": "" - }, - { - "name": "json", - "type": "Any", - "description": "" - }, - { - "name": "when", - "type": "Any", - "description": "" - } - ], - "returns": { - "type": "return", - "description": "" - } - }, { "signature": "Set(RedisKey key, RedisValue path, RedisValue json, When when = When.Always)", "params": [ @@ -82636,35 +78874,6 @@ "type": "bool", "description": "" } - }, - { - "signature": "Set(key, path, fileContent, when)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "" - }, - { - "name": "path", - "type": "Any", - "description": "" - }, - { - "name": "fileContent", - "type": "Any", - "description": "" - }, - { - "name": "when", - "type": "Any", - "description": "" - } - ], - "returns": { - "type": "return", - "description": "" - } } ], "php": [ @@ -82790,6 +78999,37 @@ "description": "when nx or xx is given, true on success and false when the condition was not met; otherwise the raw \"OK\" reply" } } + ], + "nredisstack_async": [ + { + "signature": "SetAsync(RedisKey key, RedisValue path, RedisValue json, When when = When.Always)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "RedisValue", + "description": "" + }, + { + "name": "json", + "type": "RedisValue", + "description": "" + }, + { + "name": "when", + "type": "When", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -83345,6 +79585,32 @@ "description": "the new string length(s): an Array for a JSONPath, a single integer for a legacy path; nil for a non-string match" } } + ], + "nredisstack_async": [ + { + "signature": "StrAppendAsync(RedisKey key, string value, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "value", + "type": "string", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -83681,6 +79947,27 @@ "description": "the string length(s): an Array for a JSONPath, a single integer for a legacy path; nil for a non-string match" } } + ], + "nredisstack_async": [ + { + "signature": "StrLenAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -83961,6 +80248,27 @@ "description": "1/0 for the new true/false value(s): an Array for a JSONPath, a single value for a legacy path; nil for a non-boolean match" } } + ], + "nredisstack_async": [ + { + "signature": "ToggleAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -84297,6 +80605,27 @@ "description": "the type name(s): an Array for a JSONPath, a single string for a legacy path" } } + ], + "nredisstack_async": [ + { + "signature": "TypeAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } }, @@ -84435,8 +80764,13 @@ ], "nredisstack_sync": [ { - "signature": "Keys(RedisValue pattern, int pageSize, long cursor, int pageOffset, CommandFlags flags)", + "signature": "Keys(int database = -1, RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ + { + "name": "database", + "type": "int", + "description": "" + }, { "name": "pattern", "type": "RedisValue", @@ -84471,8 +80805,13 @@ ], "nredisstack_async": [ { - "signature": "Keys(RedisValue pattern, int pageSize, long cursor, int pageOffset, CommandFlags flags)", + "signature": "KeysAsync(int database = -1, RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ + { + "name": "database", + "type": "int", + "description": "" + }, { "name": "pattern", "type": "RedisValue", @@ -85875,30 +82214,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListGetByIndex(RedisKey key, long index, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "index", - "type": "long", - "description": "The index position to get the value at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The requested element, or Null when index is out of range." - } - }, { "signature": "ListGetByIndex(RedisKey key, long index, CommandFlags flags = CommandFlags.None)", "params": [ @@ -85925,30 +82240,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListGetByIndexAsync(RedisKey key, long index, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "index", - "type": "long", - "description": "The index position to get the value at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The requested element, or Null when index is out of range." - } - }, { "signature": "ListGetByIndexAsync(RedisKey key, long index, CommandFlags flags = CommandFlags.None)", "params": [ @@ -86379,115 +82670,57 @@ } } ], - "redis_rs_async": [ - { - "signature": "linsert_before(key: K, pivot: P, value: V)", - "params": [ - { - "name": "key", - "type": "K", - "description": "" - }, - { - "name": "pivot", - "type": "P", - "description": "" - }, - { - "name": "value", - "type": "V", - "description": "" - } - ], - "returns": { - "type": "(isize)", - "description": "" - } - }, - { - "signature": "linsert_after(key: K, pivot: P, value: V)", - "params": [ - { - "name": "key", - "type": "K", - "description": "" - }, - { - "name": "pivot", - "type": "P", - "description": "" - }, - { - "name": "value", - "type": "V", - "description": "" - } - ], - "returns": { - "type": "(isize)", - "description": "" - } - } - ], - "nredisstack_sync": [ + "redis_rs_async": [ { - "signature": "ListInsertAfter(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", + "signature": "linsert_before(key: K, pivot: P, value: V)", "params": [ { "name": "key", - "type": "RedisKey", - "description": "The key of the list." + "type": "K", + "description": "" }, { "name": "pivot", - "type": "RedisValue", - "description": "The value to insert after." + "type": "P", + "description": "" }, { "name": "value", - "type": "RedisValue", - "description": "The value to insert." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." + "type": "V", + "description": "" } ], "returns": { - "type": "long", - "description": "The length of the list after the insert operation, or -1 when the value pivot was not found." + "type": "(isize)", + "description": "" } }, { - "signature": "ListInsertBefore(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", + "signature": "linsert_after(key: K, pivot: P, value: V)", "params": [ { "name": "key", - "type": "RedisKey", - "description": "The key of the list." + "type": "K", + "description": "" }, { "name": "pivot", - "type": "RedisValue", - "description": "The value to insert before." + "type": "P", + "description": "" }, { "name": "value", - "type": "RedisValue", - "description": "The value to insert." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." + "type": "V", + "description": "" } ], "returns": { - "type": "long", - "description": "The length of the list after the insert operation, or -1 when the value pivot was not found." + "type": "(isize)", + "description": "" } - }, + } + ], + "nredisstack_sync": [ { "signature": "ListInsertAfter(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -86548,64 +82781,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListInsertAfterAsync(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "pivot", - "type": "RedisValue", - "description": "The value to insert after." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to insert." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the insert operation, or -1 when the value pivot was not found." - } - }, - { - "signature": "ListInsertBeforeAsync(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "pivot", - "type": "RedisValue", - "description": "The value to insert before." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to insert." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the insert operation, or -1 when the value pivot was not found." - } - }, { "signature": "ListInsertAfterAsync(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -86930,25 +83105,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list at key." - } - }, { "signature": "ListLength(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -86970,25 +83126,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list at key." - } - }, { "signature": "ListLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -87412,40 +83549,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListMove(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the list to remove from." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "The key of the list to move to." - }, - { - "name": "sourceSide", - "type": "ListSide", - "description": "What side of the sourceKey list to remove from." - }, - { - "name": "destinationSide", - "type": "ListSide", - "description": "What side of the destinationKey list to move to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The element being popped and pushed or Null if there is no element to move." - } - }, { "signature": "ListMove(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", "params": [ @@ -87482,40 +83585,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListMoveAsync(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the list to remove from." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "The key of the list to move to." - }, - { - "name": "sourceSide", - "type": "ListSide", - "description": "What side of the sourceKey list to remove from." - }, - { - "name": "destinationSide", - "type": "ListSide", - "description": "What side of the destinationKey list to move to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The element being popped and pushed or Null if there is no element to move." - } - }, { "signature": "ListMoveAsync(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", "params": [ @@ -88569,49 +84638,6 @@ "type": "ListPopResult", "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." } - }, - { - "signature": "ListLeftPop(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } - }, - { - "signature": "ListLeftPop(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of elements to pop from the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } } ], "nredisstack_async": [ @@ -88681,49 +84707,6 @@ "type": "Task", "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." } - }, - { - "signature": "ListLeftPopAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } - }, - { - "signature": "ListLeftPopAsync(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of elements to pop from the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } } ], "php": [ @@ -89465,79 +85448,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListPosition(RedisKey key, RedisValue element, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "element", - "type": "RedisValue", - "description": "The element to search for." - }, - { - "name": "rank", - "type": "long", - "description": "The rank of the first element to return, within the sub-list of matching indexes in the case of multiple matches." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum number of elements to scan through before stopping, defaults to 0 (a full scan of the list.)" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The 0-based index of the first matching element, or -1 if not found." - } - }, - { - "signature": "ListPositions(RedisKey key, RedisValue element, long count, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "element", - "type": "RedisValue", - "description": "The element to search for." - }, - { - "name": "count", - "type": "long", - "description": "of indexes of matching elements. If none are found, and empty array is returned. " - }, - { - "name": "rank", - "type": "long", - "description": "The rank of the first element to return, within the sub-list of matching indexes in the case of multiple matches." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum number of elements to scan through before stopping, defaults to 0 (a full scan of the list.)" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long[]", - "description": "" - } - }, { "signature": "ListPosition(RedisKey key, RedisValue element, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -89613,79 +85523,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListPositionAsync(RedisKey key, RedisValue element, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "element", - "type": "RedisValue", - "description": "The element to search for." - }, - { - "name": "rank", - "type": "long", - "description": "The rank of the first element to return, within the sub-list of matching indexes in the case of multiple matches." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum number of elements to scan through before stopping, defaults to 0 (a full scan of the list.)" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The 0-based index of the first matching element, or -1 if not found." - } - }, - { - "signature": "ListPositionsAsync(RedisKey key, RedisValue element, long count, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "element", - "type": "RedisValue", - "description": "The element to search for." - }, - { - "name": "count", - "type": "long", - "description": "of indexes of matching elements. If none are found, and empty array is returned. " - }, - { - "name": "rank", - "type": "long", - "description": "The rank of the first element to return, within the sub-list of matching indexes in the case of multiple matches." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum number of elements to scan through before stopping, defaults to 0 (a full scan of the list.)" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "ListPositionAsync(RedisKey key, RedisValue element, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -90123,64 +85960,6 @@ "type": "long", "description": "The length of the list after the push operations." } - }, - { - "signature": "ListLeftPush(RedisKey key, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the push operations." - } - }, - { - "signature": "ListLeftPush(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the head of the list." - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the push operations." - } } ], "nredisstack_async": [ @@ -90265,64 +86044,6 @@ "type": "Task", "description": "The length of the list after the push operations." } - }, - { - "signature": "ListLeftPushAsync(RedisKey key, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the push operations." - } - }, - { - "signature": "ListLeftPushAsync(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the head of the list." - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the push operations." - } } ], "php": [ @@ -91055,35 +86776,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListRange(RedisKey key, long start = 0, long stop = -1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the list." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index of the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of elements in the specified range." - } - }, { "signature": "ListRange(RedisKey key, long start = 0, long stop = -1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -91115,35 +86807,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListRangeAsync(RedisKey key, long start = 0, long stop = -1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the list." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index of the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of elements in the specified range." - } - }, { "signature": "ListRangeAsync(RedisKey key, long start = 0, long stop = -1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -91523,35 +87186,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListRemove(RedisKey key, RedisValue value, long count = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to remove from the list." - }, - { - "name": "count", - "type": "long", - "description": "The count behavior (see method summary)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of removed elements." - } - }, { "signature": "ListRemove(RedisKey key, RedisValue value, long count = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -91583,35 +87217,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListRemoveAsync(RedisKey key, RedisValue value, long count = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to remove from the list." - }, - { - "name": "count", - "type": "long", - "description": "The count behavior (see method summary)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of removed elements." - } - }, { "signature": "ListRemoveAsync(RedisKey key, RedisValue value, long count = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -91991,35 +87596,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListSetByIndex(RedisKey key, long index, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "index", - "type": "long", - "description": "The index to set the value at." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The values to add to the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "void", - "description": "" - } - }, { "signature": "ListSetByIndex(RedisKey key, long index, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -92051,35 +87627,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListSetByIndexAsync(RedisKey key, long index, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "index", - "type": "long", - "description": "The index to set the value at." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The values to add to the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "ListSetByIndexAsync(RedisKey key, long index, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -92459,35 +88006,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListTrim(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the list to trim to." - }, - { - "name": "stop", - "type": "long", - "description": "The end index of the list to trim to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "void", - "description": "" - } - }, { "signature": "ListTrim(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", "params": [ @@ -92519,35 +88037,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListTrimAsync(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the list to trim to." - }, - { - "name": "stop", - "type": "long", - "description": "The end index of the list to trim to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "ListTrimAsync(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", "params": [ @@ -103339,49 +98828,6 @@ "type": "ListPopResult", "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." } - }, - { - "signature": "ListRightPop(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } - }, - { - "signature": "ListRightPop(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of elements to pop from the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } } ], "nredisstack_async": [ @@ -103451,49 +98897,6 @@ "type": "Task", "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." } - }, - { - "signature": "ListRightPopAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } - }, - { - "signature": "ListRightPopAsync(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of elements to pop from the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } } ], "php": [ @@ -104160,64 +99563,6 @@ "type": "long", "description": "The length of the list after the push operation." } - }, - { - "signature": "ListRightPush(RedisKey key, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the push operation." - } - }, - { - "signature": "ListRightPush(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the tail of the list." - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the push operation." - } } ], "nredisstack_async": [ @@ -104302,64 +99647,6 @@ "type": "Task", "description": "The length of the list after the push operation." } - }, - { - "signature": "ListRightPushAsync(RedisKey key, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the push operation." - } - }, - { - "signature": "ListRightPushAsync(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the tail of the list." - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the push operation." - } } ], "php": [ @@ -105012,54 +100299,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetAdd(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, - { - "signature": "SetAdd(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, { "signature": "SetAdd(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -105110,54 +100349,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetAddAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, - { - "signature": "SetAddAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, { "signature": "SetAddAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -105717,8 +100908,13 @@ ], "nredisstack_sync": [ { - "signature": "Scan(RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", + "signature": "Keys(int database = -1, RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ + { + "name": "database", + "type": "int", + "description": "" + }, { "name": "pattern", "type": "RedisValue", @@ -105753,8 +100949,13 @@ ], "nredisstack_async": [ { - "signature": "Scan(RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", + "signature": "KeysAsync(int database = -1, RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ + { + "name": "database", + "type": "int", + "description": "" + }, { "name": "pattern", "type": "RedisValue", @@ -106038,25 +101239,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The cardinality (number of elements) of the set, or 0 if key does not exist." - } - }, { "signature": "SetLength(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -106078,25 +101260,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The cardinality (number of elements) of the set, or 0 if key does not exist." - } - }, { "signature": "SetLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -107402,59 +102565,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombine(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -107510,59 +102620,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -107936,69 +102993,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -108064,69 +103058,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -109899,93 +104830,6 @@ "type": "bool", "description": "The original bit value stored at offset." } - }, - { - "signature": "StringSetBitAsync(RedisKey key, long offset, bool bit, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "bit", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringSetBit(RedisKey key, long offset, bool bit, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to set bit." - }, - { - "name": "bit", - "type": "bool", - "description": "The bit value to set, true for 1, false for 0." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The original bit value stored at offset." - } - }, - { - "signature": "StringSetBitAsync(RedisKey key, long offset, bool value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "value", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "nredisstack_async": [ @@ -110047,35 +104891,6 @@ "description": "The original bit value stored at offset." } }, - { - "signature": "StringSetBitAsync(RedisKey key, long offset, bool bit, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to set bit." - }, - { - "name": "bit", - "type": "bool", - "description": "The bit value to set, true for 1, false for 0." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The original bit value stored at offset." - } - }, { "signature": "StringSetBitAsync(RedisKey key, long offset, bool value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -111071,35 +105886,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringSetRange(RedisKey key, long offset, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to overwrite." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to overwrite with." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The length of the string after it was modified by the command." - } - }, { "signature": "StringSetRange(RedisKey key, long offset, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -111131,35 +105917,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringSetRangeAsync(RedisKey key, long offset, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to overwrite." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to overwrite with." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string after it was modified by the command." - } - }, { "signature": "StringSetRangeAsync(RedisKey key, long offset, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -111808,59 +106565,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombine(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -111916,59 +106620,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -112438,30 +107089,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetIntersectionLength(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets." - }, - { - "name": "limit", - "type": "long", - "description": "The number of elements to check (defaults to 0 and means unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The cardinality (number of elements) of the set, or 0 if key does not exist." - } - }, { "signature": "SetIntersectionLength(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -112488,30 +107115,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetIntersectionLengthAsync(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets." - }, - { - "name": "limit", - "type": "long", - "description": "The number of elements to check (defaults to 0 and means unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The cardinality (number of elements) of the set, or 0 if key does not exist." - } - }, { "signature": "SetIntersectionLengthAsync(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -112869,69 +107472,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -112997,69 +107537,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -113410,54 +107887,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetContains(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, - { - "signature": "SetContains(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The members to check for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool[]", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, { "signature": "SetContains(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -113508,54 +107937,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetContainsAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, - { - "signature": "SetContainsAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The members to check for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, { "signature": "SetContainsAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -114591,25 +108972,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetMembers(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "All elements of the set." - } - }, { "signature": "SetMembers(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -114631,25 +108993,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetMembersAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "All elements of the set." - } - }, { "signature": "SetMembersAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -115013,54 +109356,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetContains(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, - { - "signature": "SetContains(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The members to check for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool[]", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, { "signature": "SetContains(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -115111,54 +109406,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetContainsAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, - { - "signature": "SetContainsAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The members to check for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, { "signature": "SetContainsAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -115549,35 +109796,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetMove(RedisKey source, RedisKey destination, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "source", - "type": "RedisKey", - "description": "The key of the source set." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to move." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the element is moved. false if the element is not a member of source and no operation was performed." - } - }, { "signature": "SetMove(RedisKey source, RedisKey destination, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -115609,35 +109827,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetMoveAsync(RedisKey source, RedisKey destination, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "source", - "type": "RedisKey", - "description": "The key of the source set." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to move." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is moved. false if the element is not a member of source and no operation was performed." - } - }, { "signature": "SetMoveAsync(RedisKey source, RedisKey destination, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -117104,49 +111293,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetPop(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "An array of elements, or an empty array when key does not exist." - } - }, - { - "signature": "SetPop(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "count", - "type": "long", - "description": "The number of elements to return." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "An array of elements, or an empty array when key does not exist." - } - }, { "signature": "SetPop(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -117192,49 +111338,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetPopAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An array of elements, or an empty array when key does not exist." - } - }, - { - "signature": "SetPopAsync(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "count", - "type": "long", - "description": "The number of elements to return." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An array of elements, or an empty array when key does not exist." - } - }, { "signature": "SetPopAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -118333,54 +112436,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetRemove(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of members that were removed from the set, not including non existing members." - } - }, - { - "signature": "SetRemove(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of members that were removed from the set, not including non existing members." - } - }, { "signature": "SetRemove(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -118431,54 +112486,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetRemoveAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of members that were removed from the set, not including non existing members." - } - }, - { - "signature": "SetRemoveAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of members that were removed from the set, not including non existing members." - } - }, { "signature": "SetRemoveAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -119217,35 +113224,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetScan(RedisKey key, RedisValue pattern, int pageSize, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "pattern", - "type": "RedisValue", - "description": "The pattern to match." - }, - { - "name": "pageSize", - "type": "int", - "description": "The page size to iterate by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "IEnumerable", - "description": "Yields all matching elements of the set." - } - }, { "signature": "SetScanAsync(RedisKey key, RedisValue pattern = default, int pageSize = RedisBase.CursorUtils.DefaultLibraryPageSize, long cursor = RedisBase.CursorUtils.Origin, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -119857,49 +113835,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashStringLength(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field containing the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the string at field, or 0 when key does not exist." - } - }, - { - "signature": "StringLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the string at key, or 0 when key does not exist." - } - }, { "signature": "HashStringLength(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -119945,49 +113880,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashStringLengthAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field containing the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string at field, or 0 when key does not exist." - } - }, - { - "signature": "StringLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string at key, or 0 when key does not exist." - } - }, { "signature": "HashStringLengthAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -120769,58 +114661,8 @@ } } ], - "nredisstack_sync": [ - { - "signature": "GetRange(double value, Exclude exclude, bool isStart)", - "params": [ - { - "name": "value", - "type": "double", - "description": "" - }, - { - "name": "exclude", - "type": "Exclude", - "description": "" - }, - { - "name": "isStart", - "type": "bool", - "description": "" - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } - } - ], - "nredisstack_async": [ - { - "signature": "GetRange(double value, Exclude exclude, bool isStart)", - "params": [ - { - "name": "value", - "type": "double", - "description": "" - }, - { - "name": "exclude", - "type": "Exclude", - "description": "" - }, - { - "name": "isStart", - "type": "bool", - "description": "" - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } - } - ], + "nredisstack_sync": [], + "nredisstack_async": [], "php": [ { "signature": "getrange(string $key, $start, $end)", @@ -121159,59 +115001,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombine(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -121267,59 +115056,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -121693,69 +115429,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -121821,69 +115494,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -137160,64 +130770,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamAcknowledge(RedisKey key, RedisValue groupName, RedisValue messageId, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group that received the message." - }, - { - "name": "messageId", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages acknowledged." - } - }, - { - "signature": "StreamAcknowledge(RedisKey key, RedisValue groupName, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group that received the message." - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "The IDs of the messages to acknowledge." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages acknowledged." - } - }, { "signature": "StreamAcknowledge(RedisKey key, RedisValue groupName, RedisValue messageId, CommandFlags flags = CommandFlags.None)", "params": [ @@ -137278,64 +130830,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamAcknowledgeAsync(RedisKey key, RedisValue groupName, RedisValue messageId, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group that received the message." - }, - { - "name": "messageId", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages acknowledged." - } - }, - { - "signature": "StreamAcknowledgeAsync(RedisKey key, RedisValue groupName, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group that received the message." - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "The IDs of the messages to acknowledge." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages acknowledged." - } - }, { "signature": "StreamAcknowledgeAsync(RedisKey key, RedisValue groupName, RedisValue messageId, CommandFlags flags = CommandFlags.None)", "params": [ @@ -137909,74 +131403,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamAcknowledgeAndDelete(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue messageId, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "" - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "" - }, - { - "name": "messageId", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "StreamTrimResult", - "description": "" - } - }, - { - "signature": "StreamAcknowledgeAndDelete(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "" - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "" - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "StreamTrimResult[]", - "description": "" - } - }, { "signature": "StreamAcknowledgeAndDelete(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue messageId, CommandFlags flags = CommandFlags.None)", "params": [ @@ -138047,74 +131473,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamAcknowledgeAndDeleteAsync(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue messageId, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "" - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "" - }, - { - "name": "messageId", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StreamAcknowledgeAndDeleteAsync(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "" - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "" - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "StreamAcknowledgeAndDeleteAsync(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue messageId, CommandFlags flags = CommandFlags.None)", "params": [ @@ -140225,50 +133583,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamAutoClaim(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue startAtId, int? count = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "consumerGroup", - "type": "RedisValue", - "description": "The consumer group." - }, - { - "name": "claimingConsumer", - "type": "RedisValue", - "description": "The consumer claiming the messages(s)." - }, - { - "name": "minIdleTimeInMs", - "type": "long", - "description": "The minimum idle time threshold for pending messages to be claimed." - }, - { - "name": "startAtId", - "type": "RedisValue", - "description": "The starting ID to scan for pending messages that have an idle time greater than minIdleTimeInMs." - }, - { - "name": "count", - "type": "int?", - "description": "The upper limit of the number of entries that the command attempts to claim. If null, Redis will default the value to 100." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamAutoClaimResult", - "description": "An instance of StreamAutoClaimResult." - } - }, { "signature": "StreamAutoClaim(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue startAtId, int? count = null, CommandFlags flags = CommandFlags.None)", "params": [ @@ -140315,50 +133629,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamAutoClaimAsync(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue startAtId, int? count = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "consumerGroup", - "type": "RedisValue", - "description": "The consumer group." - }, - { - "name": "claimingConsumer", - "type": "RedisValue", - "description": "The consumer claiming the messages(s)." - }, - { - "name": "minIdleTimeInMs", - "type": "long", - "description": "The minimum idle time threshold for pending messages to be claimed." - }, - { - "name": "startAtId", - "type": "RedisValue", - "description": "The starting ID to scan for pending messages that have an idle time greater than minIdleTimeInMs." - }, - { - "name": "count", - "type": "int?", - "description": "The upper limit of the number of entries that the command attempts to claim. If null, Redis will default the value to 100." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An instance of StreamAutoClaimResult." - } - }, { "signature": "StreamAutoClaimAsync(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue startAtId, int? count = null, CommandFlags flags = CommandFlags.None)", "params": [ @@ -141548,45 +134818,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamClaim(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "consumerGroup", - "type": "RedisValue", - "description": "The consumer group." - }, - { - "name": "claimingConsumer", - "type": "RedisValue", - "description": "The consumer claiming the given message(s)." - }, - { - "name": "minIdleTimeInMs", - "type": "long", - "description": "The minimum message idle time to allow the reassignment of the message(s)." - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "The IDs of the messages to claim for the given consumer." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamEntry[]", - "description": "The messages successfully claimed by the given consumer." - } - }, { "signature": "StreamClaim(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", "params": [ @@ -141628,45 +134859,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamClaimAsync(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "consumerGroup", - "type": "RedisValue", - "description": "The consumer group." - }, - { - "name": "claimingConsumer", - "type": "RedisValue", - "description": "The consumer claiming the given message(s)." - }, - { - "name": "minIdleTimeInMs", - "type": "long", - "description": "The minimum message idle time to allow the reassignment of the message(s)." - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "The IDs of the messages to claim for the given consumer." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The messages successfully claimed by the given consumer." - } - }, { "signature": "StreamClaimAsync(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", "params": [ @@ -142169,30 +135361,6 @@ "description": "" } }, - { - "signature": "StreamDelete(RedisKey key, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "long", - "description": "" - } - }, { "signature": "StreamDelete(RedisKey key, RedisValue[] messageIds, StreamTrimMode mode, CommandFlags flags)", "params": [ @@ -142277,30 +135445,6 @@ "description": "" } }, - { - "signature": "StreamDeleteAsync(RedisKey key, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "StreamDeleteAsync(RedisKey key, RedisValue[] messageIds, StreamTrimMode mode, CommandFlags flags)", "params": [ @@ -143610,69 +136754,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamCreateConsumerGroup(RedisKey key, RedisValue groupName, RedisValue? position, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the group to create." - }, - { - "name": "position", - "type": "RedisValue?", - "description": "The position to begin reading the stream. Defaults to NewMessages." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the group was created, false otherwise." - } - }, - { - "signature": "StreamCreateConsumerGroup(RedisKey key, RedisValue groupName, RedisValue? position = null, bool createStream = true, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the group to create." - }, - { - "name": "position", - "type": "RedisValue?", - "description": "The position to begin reading the stream. Defaults to NewMessages." - }, - { - "name": "createStream", - "type": "bool", - "description": "Create the stream if it does not already exist." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the group was created, false otherwise." - } - }, { "signature": "StreamCreateConsumerGroup(RedisKey key, RedisValue groupName, RedisValue? position, CommandFlags flags)", "params": [ @@ -143738,69 +136819,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamCreateConsumerGroupAsync(RedisKey key, RedisValue groupName, RedisValue? position, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the group to create." - }, - { - "name": "position", - "type": "RedisValue?", - "description": "The position to begin reading the stream. Defaults to NewMessages." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the group was created, false otherwise." - } - }, - { - "signature": "StreamCreateConsumerGroupAsync(RedisKey key, RedisValue groupName, RedisValue? position = null, bool createStream = true, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the group to create." - }, - { - "name": "position", - "type": "RedisValue?", - "description": "The position to begin reading the stream. Defaults to NewMessages." - }, - { - "name": "createStream", - "type": "bool", - "description": "Create the stream if it does not already exist." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the group was created, false otherwise." - } - }, { "signature": "StreamCreateConsumerGroupAsync(RedisKey key, RedisValue groupName, RedisValue? position, CommandFlags flags)", "params": [ @@ -144915,35 +137933,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamDeleteConsumer(RedisKey key, RedisValue groupName, RedisValue consumerName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "consumerName", - "type": "RedisValue", - "description": "The name of the consumer." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages that were pending for the deleted consumer." - } - }, { "signature": "StreamDeleteConsumer(RedisKey key, RedisValue groupName, RedisValue consumerName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -144975,35 +137964,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamDeleteConsumerAsync(RedisKey key, RedisValue groupName, RedisValue consumerName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "consumerName", - "type": "RedisValue", - "description": "The name of the consumer." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages that were pending for the deleted consumer." - } - }, { "signature": "StreamDeleteConsumerAsync(RedisKey key, RedisValue groupName, RedisValue consumerName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -145525,30 +138485,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamDeleteConsumerGroup(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if deleted, false otherwise." - } - }, { "signature": "StreamDeleteConsumerGroup(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -145575,30 +138511,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamDeleteConsumerGroupAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if deleted, false otherwise." - } - }, { "signature": "StreamDeleteConsumerGroupAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -146155,35 +139067,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamConsumerGroupSetPosition(RedisKey key, RedisValue groupName, RedisValue position, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "position", - "type": "RedisValue", - "description": "The position from which to read for the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if successful, false otherwise." - } - }, { "signature": "StreamConsumerGroupSetPosition(RedisKey key, RedisValue groupName, RedisValue position, CommandFlags flags = CommandFlags.None)", "params": [ @@ -146215,35 +139098,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamConsumerGroupSetPositionAsync(RedisKey key, RedisValue groupName, RedisValue position, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "position", - "type": "RedisValue", - "description": "The position from which to read for the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if successful, false otherwise." - } - }, { "signature": "StreamConsumerGroupSetPositionAsync(RedisKey key, RedisValue groupName, RedisValue position, CommandFlags flags = CommandFlags.None)", "params": [ @@ -146695,30 +139549,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamConsumerInfo(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The consumer group name." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamConsumerInfo[]", - "description": "An instance of StreamConsumerInfo for each of the consumer group's consumers." - } - }, { "signature": "StreamConsumerInfo(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -146745,30 +139575,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamConsumerInfoAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The consumer group name." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An instance of StreamConsumerInfo for each of the consumer group's consumers." - } - }, { "signature": "StreamConsumerInfoAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -147124,25 +139930,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamGroupInfo(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamGroupInfo[]", - "description": "An instance of StreamGroupInfo for each of the stream's groups." - } - }, { "signature": "StreamGroupInfo(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -147164,25 +139951,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamGroupInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An instance of StreamGroupInfo for each of the stream's groups." - } - }, { "signature": "StreamGroupInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -147590,25 +140358,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamInfo(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamInfo", - "description": "A StreamInfo instance with information about the stream." - } - }, { "signature": "StreamInfo(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -147630,25 +140379,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A StreamInfo instance with information about the stream." - } - }, { "signature": "StreamInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -147893,25 +140623,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of entries inside the given stream." - } - }, { "signature": "StreamLength(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -147933,25 +140644,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of entries inside the given stream." - } - }, { "signature": "StreamLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -148873,30 +141565,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamPending(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamPendingInfo", - "description": "An instance of StreamPendingInfo. StreamPendingInfo contains the number of pending messages. The highest and lowest ID of the pending messages, and the consumers with their pending message count." - } - }, { "signature": "StreamPending(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -148923,30 +141591,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamPendingAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An instance of StreamPendingInfo. StreamPendingInfo contains the number of pending messages. The highest and lowest ID of the pending messages, and the consumers with their pending message count." - } - }, { "signature": "StreamPendingAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -149691,90 +142335,12 @@ } ], "returns": { - "type": "StreamEntry[]", - "description": "Returns an instance of StreamEntry for each message returned." - } - }, - { - "signature": "StreamRange(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "minId", - "type": "RedisValue?", - "description": "The minimum ID from which to read the stream. The method will default to reading from the beginning of the stream." - }, - { - "name": "maxId", - "type": "RedisValue?", - "description": "The maximum ID to read to within the stream. The method will default to reading to the end of the stream." - }, - { - "name": "count", - "type": "int?", - "description": "The maximum number of messages to return." - }, - { - "name": "messageOrder", - "type": "Order", - "description": "The order of the messages. Ascending will execute XRANGE and Descending will execute XREVRANGE." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamEntry[]", - "description": "Returns an instance of StreamEntry for each message returned." - } - } - ], - "nredisstack_async": [ - { - "signature": "StreamRangeAsync(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "minId", - "type": "RedisValue?", - "description": "The minimum ID from which to read the stream. The method will default to reading from the beginning of the stream." - }, - { - "name": "maxId", - "type": "RedisValue?", - "description": "The maximum ID to read to within the stream. The method will default to reading to the end of the stream." - }, - { - "name": "count", - "type": "int?", - "description": "The maximum number of messages to return." - }, - { - "name": "messageOrder", - "type": "Order", - "description": "The order of the messages. Ascending will execute XRANGE and Descending will execute XREVRANGE." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", + "type": "StreamEntry[]", "description": "Returns an instance of StreamEntry for each message returned." } - }, + } + ], + "nredisstack_async": [ { "signature": "StreamRangeAsync(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -150388,59 +142954,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamRead(RedisKey key, RedisValue position, int? count = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "position", - "type": "RedisValue", - "description": "" - }, - { - "name": "count", - "type": "int?", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamEntry[]", - "description": "A value of RedisStream for each stream." - } - }, - { - "signature": "StreamRead(StreamPosition[] streamPositions, int? countPerStream = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "streamPositions", - "type": "StreamPosition[]", - "description": "Array of streams and the positions from which to begin reading for each stream." - }, - { - "name": "countPerStream", - "type": "int?", - "description": "The maximum number of messages to return from each stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisStream[]", - "description": "A value of RedisStream for each stream." - } - }, { "signature": "StreamRead(RedisKey key, RedisValue position, int? count = null, CommandFlags flags = CommandFlags.None)", "params": [ @@ -150496,59 +143009,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamReadAsync(RedisKey key, RedisValue position, int? count = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "position", - "type": "RedisValue", - "description": "" - }, - { - "name": "count", - "type": "int?", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A value of RedisStream for each stream." - } - }, - { - "signature": "StreamReadAsync(StreamPosition[] streamPositions, int? countPerStream = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "streamPositions", - "type": "StreamPosition[]", - "description": "Array of streams and the positions from which to begin reading for each stream." - }, - { - "name": "countPerStream", - "type": "int?", - "description": "The maximum number of messages to return from each stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A value of RedisStream for each stream." - } - }, { "signature": "StreamReadAsync(RedisKey key, RedisValue position, int? count = null, CommandFlags flags = CommandFlags.None)", "params": [ @@ -152371,45 +144831,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamRange(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "minId", - "type": "RedisValue?", - "description": "The minimum ID from which to read the stream. The method will default to reading from the beginning of the stream." - }, - { - "name": "maxId", - "type": "RedisValue?", - "description": "The maximum ID to read to within the stream. The method will default to reading to the end of the stream." - }, - { - "name": "count", - "type": "int?", - "description": "The maximum number of messages to return." - }, - { - "name": "messageOrder", - "type": "Order", - "description": "The order of the messages. Ascending will execute XRANGE and Descending will execute XREVRANGE." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamEntry[]", - "description": "Returns an instance of StreamEntry for each message returned." - } - }, { "signature": "StreamRange(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -152451,45 +144872,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamRangeAsync(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "minId", - "type": "RedisValue?", - "description": "The minimum ID from which to read the stream. The method will default to reading from the beginning of the stream." - }, - { - "name": "maxId", - "type": "RedisValue?", - "description": "The maximum ID to read to within the stream. The method will default to reading to the end of the stream." - }, - { - "name": "count", - "type": "int?", - "description": "The maximum number of messages to return." - }, - { - "name": "messageOrder", - "type": "Order", - "description": "The order of the messages. Ascending will execute XRANGE and Descending will execute XREVRANGE." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Returns an instance of StreamEntry for each message returned." - } - }, { "signature": "StreamRangeAsync(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -153571,74 +145953,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamTrim(RedisKey key, int maxLength, bool useApproximateMaxLength, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "maxLength", - "type": "int", - "description": "The maximum length of the stream." - }, - { - "name": "useApproximateMaxLength", - "type": "bool", - "description": "If true, the \"~\" argument is used to allow the stream to exceed max length by a small number. This improves performance when removing messages." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages removed from the stream." - } - }, - { - "signature": "StreamTrim(RedisKey key, long maxLength, bool useApproximateMaxLength = false, long? limit = null, StreamTrimMode mode = StreamTrimMode.KeepReferences, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum length of the stream." - }, - { - "name": "useApproximateMaxLength", - "type": "bool", - "description": "If true, the \"~\" argument is used to allow the stream to exceed max length by a small number. This improves performance when removing messages." - }, - { - "name": "limit", - "type": "long?", - "description": "Specifies the maximal count of entries that will be evicted." - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "Determines how stream trimming should be performed." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages removed from the stream." - } - }, { "signature": "StreamTrim(RedisKey key, int maxLength, bool useApproximateMaxLength, CommandFlags flags)", "params": [ @@ -153709,74 +146023,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamTrimAsync(RedisKey key, int maxLength, bool useApproximateMaxLength, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "maxLength", - "type": "int", - "description": "The maximum length of the stream." - }, - { - "name": "useApproximateMaxLength", - "type": "bool", - "description": "If true, the \"~\" argument is used to allow the stream to exceed max length by a small number. This improves performance when removing messages." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages removed from the stream." - } - }, - { - "signature": "StreamTrimAsync(RedisKey key, long maxLength, bool useApproximateMaxLength = false, long? limit = null, StreamTrimMode mode = StreamTrimMode.KeepReferences, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum length of the stream." - }, - { - "name": "useApproximateMaxLength", - "type": "bool", - "description": "If true, the \"~\" argument is used to allow the stream to exceed max length by a small number. This improves performance when removing messages." - }, - { - "name": "limit", - "type": "long?", - "description": "Specifies the maximal count of entries that will be evicted." - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "Determines how stream trimming should be performed." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages removed from the stream." - } - }, { "signature": "StreamTrimAsync(RedisKey key, int maxLength, bool useApproximateMaxLength, CommandFlags flags)", "params": [ @@ -155376,40 +147622,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetLength(RedisKey key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "double", - "description": "The min score to filter by (defaults to negative infinity)." - }, - { - "name": "max", - "type": "double", - "description": "The max score to filter by (defaults to positive infinity)." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Whether to exclude min and max from the range check (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The cardinality (number of elements) of the sorted set, or 0 if key does not exist." - } - }, { "signature": "SortedSetLength(RedisKey key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -155446,40 +147658,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetLengthAsync(RedisKey key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "double", - "description": "The min score to filter by (defaults to negative infinity)." - }, - { - "name": "max", - "type": "double", - "description": "The max score to filter by (defaults to positive infinity)." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Whether to exclude min and max from the range check (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The cardinality (number of elements) of the sorted set, or 0 if key does not exist." - } - }, { "signature": "SortedSetLengthAsync(RedisKey key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -156650,84 +148828,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -156808,84 +148908,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -157354,64 +149376,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetIncrement(RedisKey key, RedisValue member, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to increment." - }, - { - "name": "value", - "type": "double", - "description": "The amount to increment by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double", - "description": "The new score of member." - } - }, - { - "signature": "SortedSetIncrement(key, member, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "Any", - "description": "The member to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The new score of member." - } - }, { "signature": "SortedSetIncrement(RedisKey key, RedisValue member, double value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -157443,64 +149407,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetIncrementAsync(RedisKey key, RedisValue member, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to increment." - }, - { - "name": "value", - "type": "double", - "description": "The amount to increment by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The new score of member." - } - }, - { - "signature": "SortedSetIncrement(key, member, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "Any", - "description": "The member to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The new score of member." - } - }, { "signature": "SortedSetIncrementAsync(RedisKey key, RedisValue member, double value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -157899,40 +149805,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombine(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to Sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "The resulting sorted set." - } - }, { "signature": "SortedSetCombine(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -157969,40 +149841,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAsync(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to Sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The resulting sorted set." - } - }, { "signature": "SortedSetCombineAsync(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -158473,30 +150311,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetIntersectionLength(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "limit", - "type": "long", - "description": "If the intersection cardinality reaches limit partway through the computation, the algorithm will exit and yield limit as the cardinality (defaults to 0 meaning unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting intersection." - } - }, { "signature": "SortedSetIntersectionLength(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -158523,30 +150337,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetIntersectionLengthAsync(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "limit", - "type": "long", - "description": "If the intersection cardinality reaches limit partway through the computation, the algorithm will exit and yield limit as the cardinality (defaults to 0 meaning unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting intersection." - } - }, { "signature": "SortedSetIntersectionLengthAsync(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -159240,84 +151030,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -159398,84 +151110,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -159973,40 +151607,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetLengthByValue(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "RedisValue", - "description": "The min value to filter by." - }, - { - "name": "max", - "type": "RedisValue", - "description": "The max value to filter by." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Whether to exclude min and max from the range check (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the specified score range." - } - }, { "signature": "SortedSetLengthByValue(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -160043,40 +151643,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetLengthByValueAsync(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "RedisValue", - "description": "The min value to filter by." - }, - { - "name": "max", - "type": "RedisValue", - "description": "The max value to filter by." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Whether to exclude min and max from the range check (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the specified score range." - } - }, { "signature": "SortedSetLengthByValueAsync(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -161026,30 +152592,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetScores(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double?[]", - "description": "array. If a member does not exist in the set, null is returned." - } - }, { "signature": "SortedSetScores(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", "params": [ @@ -161076,30 +152618,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetScoresAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "array. If a member does not exist in the set, null is returned." - } - }, { "signature": "SortedSetScoresAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", "params": [ @@ -161576,59 +153094,6 @@ "type": "SortedSetPopResult", "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." } - }, - { - "signature": "SortedSetPop(RedisKey key, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "SortedSetEntry?", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } - }, - { - "signature": "SortedSetPop(RedisKey key, long count, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of records to pop out of the sorted set." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "SortedSetEntry[]", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } } ], "nredisstack_async": [ @@ -161713,59 +153178,6 @@ "type": "Task", "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." } - }, - { - "signature": "SortedSetPopAsync(RedisKey key, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "Task", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } - }, - { - "signature": "SortedSetPopAsync(RedisKey key, long count, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of records to pop out of the sorted set." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "Task", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } } ], "php": [ @@ -162219,59 +153631,6 @@ "type": "SortedSetPopResult", "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." } - }, - { - "signature": "SortedSetPop(RedisKey key, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "SortedSetEntry?", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } - }, - { - "signature": "SortedSetPop(RedisKey key, long count, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of records to pop out of the sorted set." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "SortedSetEntry[]", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } } ], "nredisstack_async": [ @@ -162356,59 +153715,6 @@ "type": "Task", "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." } - }, - { - "signature": "SortedSetPopAsync(RedisKey key, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "Task", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } - }, - { - "signature": "SortedSetPopAsync(RedisKey key, long count, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of records to pop out of the sorted set." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "Task", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } } ], "php": [ @@ -162820,25 +154126,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRandomMember(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "does not exist. " - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } - }, { "signature": "SortedSetRandomMember(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -162860,25 +154147,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRandomMemberAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "does not exist. " - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "SortedSetRandomMemberAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -163850,74 +155118,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRangeByRank(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of elements in the specified range." - } - }, - { - "signature": "SortedSetRangeByRankWithScores(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "SortedSetEntry[]", - "description": "List of elements in the specified range." - } - }, { "signature": "SortedSetRangeByRank(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -164037,74 +155237,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRangeByRankAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of elements in the specified range." - } - }, - { - "signature": "SortedSetRangeByRankWithScoresAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of elements in the specified range." - } - }, { "signature": "SortedSetRangeByRankAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -167068,35 +158200,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRank(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get the rank of." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long?", - "description": "If member exists in the sorted set, the rank of member. If member does not exist in the sorted set or key does not exist, null." - } - }, { "signature": "SortedSetRank(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -167128,35 +158231,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRankAsync(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get the rank of." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "If member exists in the sorted set, the rank of member. If member does not exist in the sorted set or key does not exist, null." - } - }, { "signature": "SortedSetRankAsync(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -167540,78 +158614,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRemove(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, - { - "signature": "SortedSetRemove(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "The members to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, - { - "signature": "SortedSetRemove(key, member, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, { "signature": "SortedSetRemove(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ @@ -167662,78 +158664,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRemoveAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, - { - "signature": "SortedSetRemoveAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "The members to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, - { - "signature": "SortedSetRemove(key, member, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, { "signature": "SortedSetRemoveAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ @@ -168181,40 +159111,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRemoveRangeByValue(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "RedisValue", - "description": "The minimum value to remove." - }, - { - "name": "max", - "type": "RedisValue", - "description": "The maximum value to remove." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Which of min and max to exclude (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByValue(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -168251,40 +159147,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRemoveRangeByValueAsync(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "RedisValue", - "description": "The minimum value to remove." - }, - { - "name": "max", - "type": "RedisValue", - "description": "The maximum value to remove." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Which of min and max to exclude (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByValueAsync(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -168645,35 +159507,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRemoveRangeByRank(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The minimum rank to remove." - }, - { - "name": "stop", - "type": "long", - "description": "The maximum rank to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByRank(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", "params": [ @@ -168705,35 +159538,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRemoveRangeByRankAsync(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The minimum rank to remove." - }, - { - "name": "stop", - "type": "long", - "description": "The maximum rank to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByRankAsync(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", "params": [ @@ -169292,40 +160096,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRemoveRangeByScore(RedisKey key, double start, double stop, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "double", - "description": "The minimum score to remove." - }, - { - "name": "stop", - "type": "double", - "description": "The maximum score to remove." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Which of start and stop to exclude (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByScore(RedisKey key, double start, double stop, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -169362,40 +160132,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRemoveRangeByScoreAsync(RedisKey key, double start, double stop, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "double", - "description": "The minimum score to remove." - }, - { - "name": "stop", - "type": "double", - "description": "The maximum score to remove." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Which of start and stop to exclude (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByScoreAsync(RedisKey key, double start, double stop, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -169911,40 +160647,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRangeByRank(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of elements in the specified range." - } - }, { "signature": "SortedSetRangeByRank(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -169981,40 +160683,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRangeByRankAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of elements in the specified range." - } - }, { "signature": "SortedSetRangeByRankAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -172051,35 +162719,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRank(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get the rank of." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long?", - "description": "If member exists in the sorted set, the rank of member. If member does not exist in the sorted set or key does not exist, null." - } - }, { "signature": "SortedSetRank(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -172111,35 +162750,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRankAsync(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get the rank of." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "If member exists in the sorted set, the rank of member. If member does not exist in the sorted set or key does not exist, null." - } - }, { "signature": "SortedSetRankAsync(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -172912,35 +163522,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetScan(RedisKey key, RedisValue pattern, int pageSize, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "pattern", - "type": "RedisValue", - "description": "The pattern to match." - }, - { - "name": "pageSize", - "type": "int", - "description": "The page size to iterate by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "IEnumerable", - "description": "Yields all matching elements of the sorted set." - } - }, { "signature": "SortedSetScanAsync(RedisKey key, RedisValue pattern = default, int pageSize = RedisBase.CursorUtils.DefaultLibraryPageSize, long cursor = RedisBase.CursorUtils.Origin, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -173282,30 +163863,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetScore(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get a score for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double?", - "description": "The score of the member." - } - }, { "signature": "SortedSetScore(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ @@ -173332,30 +163889,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetScoreAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get a score for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The score of the member." - } - }, { "signature": "SortedSetScoreAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ @@ -173744,40 +164277,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombine(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to Sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "The resulting sorted set." - } - }, { "signature": "SortedSetCombine(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -173814,40 +164313,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAsync(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to Sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The resulting sorted set." - } - }, { "signature": "SortedSetCombineAsync(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -174592,84 +165057,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -174750,84 +165137,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/APPEND.json b/data/command-api-mapping/APPEND.json index 0ebf426a26..a12239b335 100644 --- a/data/command-api-mapping/APPEND.json +++ b/data/command-api-mapping/APPEND.json @@ -240,30 +240,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringAppend(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to append to the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the string after the append operation." - } - }, { "signature": "StringAppend(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -290,30 +266,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringAppendAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to append to the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string after the append operation." - } - }, { "signature": "StringAppendAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/BITCOUNT.json b/data/command-api-mapping/BITCOUNT.json index 11e87ff742..249098c47b 100644 --- a/data/command-api-mapping/BITCOUNT.json +++ b/data/command-api-mapping/BITCOUNT.json @@ -566,98 +566,6 @@ "type": "long", "description": "The number of bits set to 1." } - }, - { - "signature": "StringBitCountAsync(RedisKey key, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "start", - "type": "long", - "description": "" - }, - { - "name": "end", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitCountAsync(RedisKey key, long start = 0, long end = -1, StringIndexType indexType = StringIndexType.Byte, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "start", - "type": "long", - "description": "" - }, - { - "name": "end", - "type": "long", - "description": "" - }, - { - "name": "indexType", - "type": "StringIndexType", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitCount(RedisKey key, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "start", - "type": "long", - "description": "The start byte to count at." - }, - { - "name": "end", - "type": "long", - "description": "The end byte to count at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of bits set to 1." - } } ], "nredisstack_async": [ @@ -786,35 +694,6 @@ "type": "Task", "description": "The number of bits set to 1." } - }, - { - "signature": "StringBitCountAsync(RedisKey key, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "start", - "type": "long", - "description": "The start byte to count at." - }, - { - "name": "end", - "type": "long", - "description": "The end byte to count at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of bits set to 1." - } } ], "php": [ diff --git a/data/command-api-mapping/BITOP.json b/data/command-api-mapping/BITOP.json index 3f3ff9f93e..ad572caa82 100644 --- a/data/command-api-mapping/BITOP.json +++ b/data/command-api-mapping/BITOP.json @@ -901,69 +901,6 @@ "description": "The size of the string stored in the destination key, that is equal to the size of the longest input string." } }, - { - "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second = default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "Bitwise", - "description": "" - }, - { - "name": "destination", - "type": "RedisKey", - "description": "" - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitOperationAsync(Bitwise operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "Bitwise", - "description": "" - }, - { - "name": "destination", - "type": "RedisKey", - "description": "" - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "StringBitOperation(Bitwise operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/BITPOS.json b/data/command-api-mapping/BITPOS.json index 5dbd125c1b..f1e9c19043 100644 --- a/data/command-api-mapping/BITPOS.json +++ b/data/command-api-mapping/BITPOS.json @@ -716,113 +716,6 @@ "type": "long", "description": "The command returns the position of the first bit set to 1 or 0 according to the request. If we look for set bits(the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned." } - }, - { - "signature": "StringBitPositionAsync(RedisKey key, bool bit, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "bit", - "type": "bool", - "description": "" - }, - { - "name": "start", - "type": "long", - "description": "" - }, - { - "name": "end", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitPositionAsync(RedisKey key, bool bit, long start = 0, long end = -1, StringIndexType indexType = StringIndexType.Byte, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "bit", - "type": "bool", - "description": "" - }, - { - "name": "start", - "type": "long", - "description": "" - }, - { - "name": "end", - "type": "long", - "description": "" - }, - { - "name": "indexType", - "type": "StringIndexType", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringBitPosition(RedisKey key, bool bit, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "bit", - "type": "bool", - "description": "True to check for the first 1 bit, false to check for the first 0 bit." - }, - { - "name": "start", - "type": "long", - "description": "The position to start looking (defaults to 0)." - }, - { - "name": "end", - "type": "long", - "description": "The position to stop looking (defaults to -1, unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The command returns the position of the first bit set to 1 or 0 according to the request. If we look for set bits(the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned." - } } ], "nredisstack_async": [ @@ -971,40 +864,6 @@ "type": "Task", "description": "The command returns the position of the first bit set to 1 or 0 according to the request. If we look for set bits(the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned." } - }, - { - "signature": "StringBitPositionAsync(RedisKey key, bool bit, long start, long end, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "bit", - "type": "bool", - "description": "True to check for the first 1 bit, false to check for the first 0 bit." - }, - { - "name": "start", - "type": "long", - "description": "The position to start looking (defaults to 0)." - }, - { - "name": "end", - "type": "long", - "description": "The position to stop looking (defaults to -1, unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns the position of the first bit set to 1 or 0 according to the request. If we look for set bits(the bit argument is 1) and the string is empty or composed of just zero bytes, -1 is returned." - } } ], "php": [ diff --git a/data/command-api-mapping/BLMOVE.json b/data/command-api-mapping/BLMOVE.json index 1b0443b158..6c5bd1065a 100644 --- a/data/command-api-mapping/BLMOVE.json +++ b/data/command-api-mapping/BLMOVE.json @@ -587,40 +587,6 @@ "description": "The element being popped and pushed, or null if the server timeout expires." } }, - { - "signature": "ListMove(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the list to remove from." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "The key of the list to move to." - }, - { - "name": "sourceSide", - "type": "ListSide", - "description": "What side of the sourceKey list to remove from." - }, - { - "name": "destinationSide", - "type": "ListSide", - "description": "What side of the destinationKey list to move to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The element being popped and pushed or Null if there is no element to move." - } - }, { "signature": "ListMove(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", "params": [ @@ -657,40 +623,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListMoveAsync(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the list to remove from." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "The key of the list to move to." - }, - { - "name": "sourceSide", - "type": "ListSide", - "description": "What side of the sourceKey list to remove from." - }, - { - "name": "destinationSide", - "type": "ListSide", - "description": "What side of the destinationKey list to move to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The element being popped and pushed or Null if there is no element to move." - } - }, { "signature": "ListMoveAsync(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/BLMPOP.json b/data/command-api-mapping/BLMPOP.json index 14cb25212c..9102829ae2 100644 --- a/data/command-api-mapping/BLMPOP.json +++ b/data/command-api-mapping/BLMPOP.json @@ -632,40 +632,6 @@ "type": "Tuple>?", "description": "" } - }, - { - "signature": "BLMPop(db, timeout, [key], listSide, count)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "" - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "listSide", - "type": "Any", - "description": "" - }, - { - "name": "count", - "type": "Any", - "description": "" - } - ], - "returns": { - "type": "return", - "description": "" - } } ], "php": [ @@ -729,6 +695,66 @@ "description": "list of popped elements or nil" } } + ], + "nredisstack_async": [ + { + "signature": "BLMPopAsync(double timeout, RedisKey[] keys, ListSide listSide, long? count = null)", + "params": [ + { + "name": "timeout", + "type": "double", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "listSide", + "type": "ListSide", + "description": "" + }, + { + "name": "count", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task>?>", + "description": "" + } + }, + { + "signature": "BLMPopAsync(double timeout, RedisKey key, ListSide listSide, long? count = null)", + "params": [ + { + "name": "timeout", + "type": "double", + "description": "" + }, + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "listSide", + "type": "ListSide", + "description": "" + }, + { + "name": "count", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task>?>", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/BLPOP.json b/data/command-api-mapping/BLPOP.json index 0accdf5a89..df9d85303c 100644 --- a/data/command-api-mapping/BLPOP.json +++ b/data/command-api-mapping/BLPOP.json @@ -432,30 +432,6 @@ "type": "Tuple?", "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." } - }, - { - "signature": "BLPop(db, [key], timeout)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "The IDatabase class where this extension method is applied." - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." - } - ], - "returns": { - "type": "return", - "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." - } } ], "php": [ @@ -499,6 +475,46 @@ "description": "tuple of the list that was popped from and element" } } + ], + "nredisstack_async": [ + { + "signature": "BLPopAsync(RedisKey[] keys, double timeout)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." + } + }, + { + "signature": "BLPopAsync(RedisKey key, double timeout)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "The key to check." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." + } + } ] } } diff --git a/data/command-api-mapping/BRPOP.json b/data/command-api-mapping/BRPOP.json index 447a354e9e..e30f1d246c 100644 --- a/data/command-api-mapping/BRPOP.json +++ b/data/command-api-mapping/BRPOP.json @@ -432,30 +432,6 @@ "type": "Tuple?", "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." } - }, - { - "signature": "BRPop(db, [key], timeout)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "The IDatabase class where this extension method is applied." - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." - } - ], - "returns": { - "type": "return", - "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." - } } ], "php": [ @@ -499,6 +475,46 @@ "description": "tuple of the list that was popped from and element" } } + ], + "nredisstack_async": [ + { + "signature": "BRPopAsync(RedisKey[] keys, double timeout)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." + } + }, + { + "signature": "BRPopAsync(RedisKey key, double timeout)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "The key to check." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A value, together with the key it was popped from, or null if the server timeoutexpires." + } + } ] } } diff --git a/data/command-api-mapping/BRPOPLPUSH.json b/data/command-api-mapping/BRPOPLPUSH.json index 8e8b1db326..f81771f333 100644 --- a/data/command-api-mapping/BRPOPLPUSH.json +++ b/data/command-api-mapping/BRPOPLPUSH.json @@ -417,6 +417,32 @@ "description": "the element was popped and pushed" } } + ], + "nredisstack_async": [ + { + "signature": "BRPopLPushAsync(RedisKey source, RedisKey destination, double timeout)", + "params": [ + { + "name": "source", + "type": "RedisKey", + "description": "The key of the source list." + }, + { + "name": "destination", + "type": "RedisKey", + "description": "The key of the destination list." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task", + "description": "The element being popped and pushed, or null if the server timeout expires." + } + } ] } } diff --git a/data/command-api-mapping/BZMPOP.json b/data/command-api-mapping/BZMPOP.json index 1d57012839..adec52b5c1 100644 --- a/data/command-api-mapping/BZMPOP.json +++ b/data/command-api-mapping/BZMPOP.json @@ -807,40 +807,6 @@ "type": "Tuple>?", "description": "" } - }, - { - "signature": "BZMPop(db, timeout, [key], minMaxModifier, count)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "" - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "minMaxModifier", - "type": "Any", - "description": "" - }, - { - "name": "count", - "type": "Any", - "description": "" - } - ], - "returns": { - "type": "return", - "description": "" - } } ], "php": [ @@ -904,6 +870,66 @@ "description": "list of popped elements and scores" } } + ], + "nredisstack_async": [ + { + "signature": "BZMPopAsync(double timeout, RedisKey[] keys, MinMaxModifier minMaxModifier, long? count = null)", + "params": [ + { + "name": "timeout", + "type": "double", + "description": "" + }, + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "minMaxModifier", + "type": "MinMaxModifier", + "description": "" + }, + { + "name": "count", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task>?>", + "description": "" + } + }, + { + "signature": "BZMPopAsync(double timeout, RedisKey key, MinMaxModifier minMaxModifier, long? count = null)", + "params": [ + { + "name": "timeout", + "type": "double", + "description": "" + }, + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "minMaxModifier", + "type": "MinMaxModifier", + "description": "" + }, + { + "name": "count", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task>?>", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/BZPOPMAX.json b/data/command-api-mapping/BZPOPMAX.json index 2fe334bf73..3cd90dcf3d 100644 --- a/data/command-api-mapping/BZPOPMAX.json +++ b/data/command-api-mapping/BZPOPMAX.json @@ -377,30 +377,6 @@ "type": "Tuple?", "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." } - }, - { - "signature": "BZPopMax(db, [key], timeout)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "The IDatabase class where this extension method is applied." - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." - } - ], - "returns": { - "type": "return", - "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." - } } ], "php": [ @@ -444,6 +420,46 @@ "description": "a tuple of key, member and score" } } + ], + "nredisstack_async": [ + { + "signature": "BZPopMaxAsync(RedisKey[] keys, double timeout)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." + } + }, + { + "signature": "BZPopMaxAsync(RedisKey key, double timeout)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "The key to check." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." + } + } ] } } diff --git a/data/command-api-mapping/BZPOPMIN.json b/data/command-api-mapping/BZPOPMIN.json index 2f6c276b89..54828dd238 100644 --- a/data/command-api-mapping/BZPOPMIN.json +++ b/data/command-api-mapping/BZPOPMIN.json @@ -377,30 +377,6 @@ "type": "Tuple?", "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." } - }, - { - "signature": "BZPopMin(db, [key], timeout)", - "params": [ - { - "name": "db", - "type": "Any", - "description": "The IDatabase class where this extension method is applied." - }, - { - "name": "[key]", - "type": "Any", - "description": "" - }, - { - "name": "timeout", - "type": "Any", - "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." - } - ], - "returns": { - "type": "return", - "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." - } } ], "php": [ @@ -444,6 +420,46 @@ "description": "a tuple of key, member and score" } } + ], + "nredisstack_async": [ + { + "signature": "BZPopMinAsync(RedisKey[] keys, double timeout)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." + } + }, + { + "signature": "BZPopMinAsync(RedisKey key, double timeout)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "The key to check." + }, + { + "name": "timeout", + "type": "double", + "description": "Server-side timeout for the wait. A value of 0 means to wait indefinitely." + } + ], + "returns": { + "type": "Task?>", + "description": "A sorted set entry paired with its score, together with the key it was popped from, or nullif the server timeout expires." + } + } ] } } diff --git a/data/command-api-mapping/DECR.json b/data/command-api-mapping/DECR.json index fde973a03f..ed48ce9710 100644 --- a/data/command-api-mapping/DECR.json +++ b/data/command-api-mapping/DECR.json @@ -338,54 +338,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringDecrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the decrement." - } - }, - { - "signature": "StringDecrement(RedisKey key, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "double", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double", - "description": "The value of key after the decrement." - } - }, { "signature": "StringDecrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -436,54 +388,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringDecrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the decrement." - } - }, - { - "signature": "StringDecrementAsync(RedisKey key, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "double", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the decrement." - } - }, { "signature": "StringDecrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/DECRBY.json b/data/command-api-mapping/DECRBY.json index 6e1621f033..0d960c4814 100644 --- a/data/command-api-mapping/DECRBY.json +++ b/data/command-api-mapping/DECRBY.json @@ -343,54 +343,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringDecrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the decrement." - } - }, - { - "signature": "StringDecrement(RedisKey key, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "double", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double", - "description": "The value of key after the decrement." - } - }, { "signature": "StringDecrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -441,54 +393,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringDecrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the decrement." - } - }, - { - "signature": "StringDecrementAsync(RedisKey key, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "double", - "description": "The amount to decrement by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the decrement." - } - }, { "signature": "StringDecrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/GEOADD.json b/data/command-api-mapping/GEOADD.json index 68ddca9c0c..676e3f6885 100644 --- a/data/command-api-mapping/GEOADD.json +++ b/data/command-api-mapping/GEOADD.json @@ -832,64 +832,6 @@ "type": "long", "description": "The number of elements that were added to the set, not including all the elements already present into the set." } - }, - { - "signature": "GeoAdd(RedisKey key, double longitude, double latitude, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "longitude", - "type": "double", - "description": "" - }, - { - "name": "latitude", - "type": "double", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, - { - "signature": "GeoAdd(RedisKey key, GeoEntry value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "GeoEntry", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } } ], "nredisstack_async": [ @@ -974,64 +916,6 @@ "type": "Task", "description": "The number of elements that were added to the set, not including all the elements already present into the set." } - }, - { - "signature": "GeoAddAsync(RedisKey key, double longitude, double latitude, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "longitude", - "type": "double", - "description": "" - }, - { - "name": "latitude", - "type": "double", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, - { - "signature": "GeoAddAsync(RedisKey key, GeoEntry value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "GeoEntry", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } } ], "php": [ diff --git a/data/command-api-mapping/GEODIST.json b/data/command-api-mapping/GEODIST.json index 445bc690e7..cf182da479 100644 --- a/data/command-api-mapping/GEODIST.json +++ b/data/command-api-mapping/GEODIST.json @@ -576,108 +576,6 @@ "type": "double?", "description": "The command returns the distance as a double (represented as a string) in the specified unit, or null if one or both the elements are missing." } - }, - { - "signature": "GeoDistanceAsync(RedisKey key, RedisValue member1, RedisValue member2, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "member1", - "type": "RedisValue", - "description": "" - }, - { - "name": "member2", - "type": "RedisValue", - "description": "" - }, - { - "name": "unit", - "type": "GeoUnit", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "GeoDistance(RedisKey key, RedisValue member1, RedisValue member2, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member1", - "type": "RedisValue", - "description": "The first member to check." - }, - { - "name": "member2", - "type": "RedisValue", - "description": "The second member to check." - }, - { - "name": "unit", - "type": "GeoUnit", - "description": "The unit of distance to return (defaults to meters)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double?", - "description": "The command returns the distance as a double (represented as a string) in the specified unit, or null if one or both the elements are missing." - } - }, - { - "signature": "GeoDistanceAsync(RedisKey key, RedisValue value0, RedisValue value1, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "value0", - "type": "RedisValue", - "description": "" - }, - { - "name": "value1", - "type": "RedisValue", - "description": "" - }, - { - "name": "unit", - "type": "GeoUnit", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "nredisstack_async": [ @@ -749,40 +647,6 @@ "description": "The command returns the distance as a double (represented as a string) in the specified unit, or null if one or both the elements are missing." } }, - { - "signature": "GeoDistanceAsync(RedisKey key, RedisValue member1, RedisValue member2, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member1", - "type": "RedisValue", - "description": "The first member to check." - }, - { - "name": "member2", - "type": "RedisValue", - "description": "The second member to check." - }, - { - "name": "unit", - "type": "GeoUnit", - "description": "The unit of distance to return (defaults to meters)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns the distance as a double (represented as a string) in the specified unit, or null if one or both the elements are missing." - } - }, { "signature": "GeoDistanceAsync(RedisKey key, RedisValue value0, RedisValue value1, GeoUnit unit = GeoUnit.Meters, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/GEOHASH.json b/data/command-api-mapping/GEOHASH.json index 97b3adf8aa..ec947d8139 100644 --- a/data/command-api-mapping/GEOHASH.json +++ b/data/command-api-mapping/GEOHASH.json @@ -302,78 +302,6 @@ } ], "nredisstack_sync": [ - { - "signature": "GeoHash(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "string?[]", - "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." - } - }, - { - "signature": "GeoHash(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "string?", - "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." - } - }, - { - "signature": "GeoHashAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "GeoHash(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", "params": [ @@ -472,54 +400,6 @@ "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." } }, - { - "signature": "GeoHashAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." - } - }, - { - "signature": "GeoHashAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns an array where each element is the Geohash corresponding to each member name passed as argument to the command." - } - }, { "signature": "GeoHashAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/GEOPOS.json b/data/command-api-mapping/GEOPOS.json index 700badc82b..2bb1ce0032 100644 --- a/data/command-api-mapping/GEOPOS.json +++ b/data/command-api-mapping/GEOPOS.json @@ -321,78 +321,6 @@ } ], "nredisstack_sync": [ - { - "signature": "GeoPosition(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "GeoPosition?[]", - "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." - } - }, - { - "signature": "GeoPosition(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "GeoPosition?", - "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." - } - }, - { - "signature": "GeoPositionAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "GeoPosition(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", "params": [ @@ -491,54 +419,6 @@ "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." } }, - { - "signature": "GeoPositionAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." - } - }, - { - "signature": "GeoPositionAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The command returns an array where each element is a two elements array representing longitude and latitude (x,y) of each member name passed as argument to the command. Non-existing elements are reported as NULL elements of the array." - } - }, { "signature": "GeoPositionAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/GEOSEARCH.json b/data/command-api-mapping/GEOSEARCH.json index cb1095c43a..8682052c39 100644 --- a/data/command-api-mapping/GEOSEARCH.json +++ b/data/command-api-mapping/GEOSEARCH.json @@ -540,109 +540,6 @@ "description": "The results found within the shape, if any." } }, - { - "signature": "GeoSearch(RedisKey key, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "longitude", - "type": "double", - "description": "The longitude of the center point." - }, - { - "name": "latitude", - "type": "double", - "description": "The latitude of the center point." - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "options", - "type": "GeoRadiusOptions", - "description": "The search options to use." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "GeoRadiusResult[]", - "description": "The results found within the shape, if any." - } - }, - { - "signature": "GeoSearch(RedisKey key, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "options", - "type": "GeoRadiusOptions", - "description": "The search options to use." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "GeoRadiusResult[]", - "description": "The results found within the shape, if any." - } - }, { "signature": "GeoSearch(RedisKey key, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", "params": [ @@ -748,109 +645,6 @@ "description": "The results found within the shape, if any." } }, - { - "signature": "GeoSearchAsync(RedisKey key, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "longitude", - "type": "double", - "description": "The longitude of the center point." - }, - { - "name": "latitude", - "type": "double", - "description": "The latitude of the center point." - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "options", - "type": "GeoRadiusOptions", - "description": "The search options to use." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The results found within the shape, if any." - } - }, - { - "signature": "GeoSearchAsync(RedisKey key, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "options", - "type": "GeoRadiusOptions", - "description": "The search options to use." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The results found within the shape, if any." - } - }, { "signature": "GeoSearchAsync(RedisKey key, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, GeoRadiusOptions options = GeoRadiusOptions.Default, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/GEOSEARCHSTORE.json b/data/command-api-mapping/GEOSEARCHSTORE.json index fbf582e9b7..c4c1f0fcce 100644 --- a/data/command-api-mapping/GEOSEARCHSTORE.json +++ b/data/command-api-mapping/GEOSEARCHSTORE.json @@ -591,173 +591,6 @@ "type": "long", "description": "" } - }, - { - "signature": "GeoSearchAndStoreAsync(RedisKey sourceKey, RedisKey destinationKey, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, bool storeDistances = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "" - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "" - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "" - }, - { - "name": "count", - "type": "int", - "description": "" - }, - { - "name": "demandClosest", - "type": "bool", - "description": "" - }, - { - "name": "order", - "type": "Order?", - "description": "" - }, - { - "name": "storeDistances", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "GeoSearchAndStoreAsync(RedisKey sourceKey, RedisKey destinationKey, double longitude, double latitude, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, bool storeDistances = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "" - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "" - }, - { - "name": "longitude", - "type": "double", - "description": "" - }, - { - "name": "latitude", - "type": "double", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "" - }, - { - "name": "count", - "type": "int", - "description": "" - }, - { - "name": "demandClosest", - "type": "bool", - "description": "" - }, - { - "name": "order", - "type": "Order?", - "description": "" - }, - { - "name": "storeDistances", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "GeoSearchAndStore(RedisKey sourceKey, RedisKey destinationKey, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, bool storeDistances = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": ". " - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "storeDistances", - "type": "bool", - "description": "If set to true, the resulting set will be a regular sorted-set containing only distances, rather than a geo-encoded sorted-set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "long", - "description": "" - } } ], "nredisstack_async": [ @@ -986,60 +819,6 @@ "type": "Task", "description": "" } - }, - { - "signature": "GeoSearchAndStoreAsync(RedisKey sourceKey, RedisKey destinationKey, RedisValue member, GeoSearchShape shape, int count = -1, bool demandClosest = true, Order? order = null, bool storeDistances = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": ". " - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "shape", - "type": "GeoSearchShape", - "description": "The shape to use to bound the geo search." - }, - { - "name": "count", - "type": "int", - "description": "The maximum number of results to pull back." - }, - { - "name": "demandClosest", - "type": "bool", - "description": "Whether to terminate the search after finding count results. Must be true of count is -1." - }, - { - "name": "order", - "type": "Order?", - "description": "The order to sort by (defaults to unordered)." - }, - { - "name": "storeDistances", - "type": "bool", - "description": "If set to true, the resulting set will be a regular sorted-set containing only distances, rather than a geo-encoded sorted-set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "php": [ diff --git a/data/command-api-mapping/GET.json b/data/command-api-mapping/GET.json index 23247f3e2f..943ffe6219 100644 --- a/data/command-api-mapping/GET.json +++ b/data/command-api-mapping/GET.json @@ -209,63 +209,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringGet(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The values of the strings with Null for keys do not exist." - } - }, - { - "signature": "StringGet(RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the strings." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "The values of the strings with Null for keys do not exist." - } - }, - { - "signature": "StringGet(key, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The values of the strings with Null for keys do not exist." - } - }, { "signature": "StringGet(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -306,63 +249,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringGetAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The values of the strings with Null for keys do not exist." - } - }, - { - "signature": "StringGetAsync(RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the strings." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The values of the strings with Null for keys do not exist." - } - }, - { - "signature": "StringGet(key, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The values of the strings with Null for keys do not exist." - } - }, { "signature": "StringGetAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/GETBIT.json b/data/command-api-mapping/GETBIT.json index 9e16405688..829a2b2991 100644 --- a/data/command-api-mapping/GETBIT.json +++ b/data/command-api-mapping/GETBIT.json @@ -263,78 +263,6 @@ "type": "bool", "description": "The bit value stored at offset." } - }, - { - "signature": "StringGetBitAsync(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringGetBit(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to get a bit at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The bit value stored at offset." - } - }, - { - "signature": "StringGetBitAsync(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "nredisstack_async": [ @@ -385,54 +313,6 @@ "type": "Task", "description": "The bit value stored at offset." } - }, - { - "signature": "StringGetBitAsync(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to get a bit at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The bit value stored at offset." - } - }, - { - "signature": "StringGetBitAsync(RedisKey key, long offset, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "php": [ diff --git a/data/command-api-mapping/GETDEL.json b/data/command-api-mapping/GETDEL.json index 41c4432d90..cdf1050f60 100644 --- a/data/command-api-mapping/GETDEL.json +++ b/data/command-api-mapping/GETDEL.json @@ -171,25 +171,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringGetDelete(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The value of key, or Null when key does not exist." - } - }, { "signature": "StringGetDelete(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -211,25 +192,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringGetDeleteAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key, or Null when key does not exist." - } - }, { "signature": "StringGetDeleteAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/GETEX.json b/data/command-api-mapping/GETEX.json index 95092d893e..248fee7756 100644 --- a/data/command-api-mapping/GETEX.json +++ b/data/command-api-mapping/GETEX.json @@ -352,54 +352,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringGetSetExpiry(RedisKey key, TimeSpan? expiry, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "expiry", - "type": "TimeSpan?", - "description": "The exact date and time to expire at. MaxValue will remove expiry." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The value of key, or Null when key does not exist." - } - }, - { - "signature": "StringGetSetExpiry(RedisKey key, DateTime expiry, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date and time to expire at. MaxValue will remove expiry." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The value of key, or Null when key does not exist." - } - }, { "signature": "StringGetSetExpiry(RedisKey key, TimeSpan? expiry, CommandFlags flags = CommandFlags.None)", "params": [ @@ -450,54 +402,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringGetSetExpiryAsync(RedisKey key, TimeSpan? expiry, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "expiry", - "type": "TimeSpan?", - "description": "The exact date and time to expire at. MaxValue will remove expiry." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key, or Null when key does not exist." - } - }, - { - "signature": "StringGetSetExpiryAsync(RedisKey key, DateTime expiry, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date and time to expire at. MaxValue will remove expiry." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key, or Null when key does not exist." - } - }, { "signature": "StringGetSetExpiryAsync(RedisKey key, TimeSpan? expiry, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/GETRANGE.json b/data/command-api-mapping/GETRANGE.json index 914d01bf19..9f2e9667ae 100644 --- a/data/command-api-mapping/GETRANGE.json +++ b/data/command-api-mapping/GETRANGE.json @@ -299,59 +299,6 @@ "type": "RedisValue", "description": "The substring of the string value stored at key." } - }, - { - "signature": "StringGetRange(RedisKey key, long start, long end, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the substring to get." - }, - { - "name": "end", - "type": "long", - "description": "The end index of the substring to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The substring of the string value stored at key." - } - }, - { - "signature": "GetRange(double value, Exclude exclude, bool isStart)", - "params": [ - { - "name": "value", - "type": "double", - "description": "" - }, - { - "name": "exclude", - "type": "Exclude", - "description": "" - }, - { - "name": "isStart", - "type": "bool", - "description": "" - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } } ], "nredisstack_async": [ @@ -383,59 +330,6 @@ "type": "Task", "description": "The substring of the string value stored at key." } - }, - { - "signature": "StringGetRangeAsync(RedisKey key, long start, long end, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the substring to get." - }, - { - "name": "end", - "type": "long", - "description": "The end index of the substring to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The substring of the string value stored at key." - } - }, - { - "signature": "GetRange(double value, Exclude exclude, bool isStart)", - "params": [ - { - "name": "value", - "type": "double", - "description": "" - }, - { - "name": "exclude", - "type": "Exclude", - "description": "" - }, - { - "name": "isStart", - "type": "bool", - "description": "" - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } } ], "php": [ diff --git a/data/command-api-mapping/GETSET.json b/data/command-api-mapping/GETSET.json index 08c88d39c2..e8c8653774 100644 --- a/data/command-api-mapping/GETSET.json +++ b/data/command-api-mapping/GETSET.json @@ -221,30 +221,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringGetSet(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to replace the existing value with." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The old value stored at key, or Null when key did not exist." - } - }, { "signature": "StringGetSet(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -271,30 +247,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringGetSetAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to replace the existing value with." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The old value stored at key, or Null when key did not exist." - } - }, { "signature": "StringGetSetAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HDEL.json b/data/command-api-mapping/HDEL.json index 8219874674..831b8c81d7 100644 --- a/data/command-api-mapping/HDEL.json +++ b/data/command-api-mapping/HDEL.json @@ -259,54 +259,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of fields that were removed." - } - }, - { - "signature": "HashDelete(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to delete." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of fields that were removed." - } - }, { "signature": "HashDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -357,54 +309,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of fields that were removed." - } - }, - { - "signature": "HashDeleteAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to delete." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of fields that were removed." - } - }, { "signature": "HashDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HEXISTS.json b/data/command-api-mapping/HEXISTS.json index 6a1980a982..712e79c998 100644 --- a/data/command-api-mapping/HEXISTS.json +++ b/data/command-api-mapping/HEXISTS.json @@ -240,30 +240,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashExists(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to check." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the hash contains field, false if the hash does not contain field, or key does not exist." - } - }, { "signature": "HashExists(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -290,30 +266,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashExistsAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to check." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the hash contains field, false if the hash does not contain field, or key does not exist." - } - }, { "signature": "HashExistsAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HEXPIRE.json b/data/command-api-mapping/HEXPIRE.json index ff5946757f..615c140423 100644 --- a/data/command-api-mapping/HEXPIRE.json +++ b/data/command-api-mapping/HEXPIRE.json @@ -1068,74 +1068,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -1206,74 +1138,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HEXPIREAT.json b/data/command-api-mapping/HEXPIREAT.json index 9be6781958..fffbc45109 100644 --- a/data/command-api-mapping/HEXPIREAT.json +++ b/data/command-api-mapping/HEXPIREAT.json @@ -675,74 +675,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -813,74 +745,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HEXPIRETIME.json b/data/command-api-mapping/HEXPIRETIME.json index 88e8bdc619..d094b33fee 100644 --- a/data/command-api-mapping/HEXPIRETIME.json +++ b/data/command-api-mapping/HEXPIRETIME.json @@ -214,30 +214,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldGetExpireDateTime(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long[]", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Expiration time, as a Unix timestamp in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetExpireDateTime(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -264,30 +240,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldGetExpireDateTimeAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Expiration time, as a Unix timestamp in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetExpireDateTimeAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HGET.json b/data/command-api-mapping/HGET.json index 728a979391..edeed848b9 100644 --- a/data/command-api-mapping/HGET.json +++ b/data/command-api-mapping/HGET.json @@ -195,54 +195,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashGet(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashGet(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -293,54 +245,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashGetAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashGetAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashGetAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HGETALL.json b/data/command-api-mapping/HGETALL.json index e44bf28cd9..194205b3b1 100644 --- a/data/command-api-mapping/HGETALL.json +++ b/data/command-api-mapping/HGETALL.json @@ -228,25 +228,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashGetAll(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash to get all entries from." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "HashEntry[]", - "description": "List of fields and their values stored in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashGetAll(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -268,25 +249,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashGetAllAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash to get all entries from." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of fields and their values stored in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashGetAllAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HGETDEL.json b/data/command-api-mapping/HGETDEL.json index ea5967c798..9cfe20e854 100644 --- a/data/command-api-mapping/HGETDEL.json +++ b/data/command-api-mapping/HGETDEL.json @@ -246,54 +246,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldGetAndDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashFieldGetAndDelete(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashFieldGetAndDelete(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -344,54 +296,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldGetAndDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashFieldGetAndDeleteAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashFieldGetAndDeleteAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HGETEX.json b/data/command-api-mapping/HGETEX.json index e0521fc96b..2b45d3b07d 100644 --- a/data/command-api-mapping/HGETEX.json +++ b/data/command-api-mapping/HGETEX.json @@ -498,40 +498,6 @@ "type": "RedisValue[]", "description": "The values of the specified hash fields." } - }, - { - "signature": "HashFieldGetAndSetExpiry(RedisKey key, RedisValue hashField, TimeSpan? expiry = null, bool persist = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "expiry", - "type": "TimeSpan?", - "description": "The exact date and time to set the expiration to." - }, - { - "name": "persist", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The values of the specified hash fields." - } } ], "nredisstack_async": [ @@ -660,40 +626,6 @@ "type": "Task", "description": "The values of the specified hash fields." } - }, - { - "signature": "HashFieldGetAndSetExpiryAsync(RedisKey key, RedisValue hashField, TimeSpan? expiry = null, bool persist = false, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "expiry", - "type": "TimeSpan?", - "description": "The exact date and time to set the expiration to." - }, - { - "name": "persist", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The values of the specified hash fields." - } } ], "php": [ diff --git a/data/command-api-mapping/HINCRBY.json b/data/command-api-mapping/HINCRBY.json index 44c799b71c..77e6d8e56b 100644 --- a/data/command-api-mapping/HINCRBY.json +++ b/data/command-api-mapping/HINCRBY.json @@ -410,35 +410,6 @@ "type": "double", "description": "The value at field after the increment operation." } - }, - { - "signature": "HashDecrement(RedisKey key, RedisValue hashField, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to decrement." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value at field after the decrement operation." - } } ], "nredisstack_async": [ @@ -557,35 +528,6 @@ "type": "Task", "description": "The value at field after the increment operation." } - }, - { - "signature": "HashDecrementAsync(RedisKey key, RedisValue hashField, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to decrement." - }, - { - "name": "value", - "type": "long", - "description": "The amount to decrement by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value at field after the decrement operation." - } } ], "php": [ diff --git a/data/command-api-mapping/HINCRBYFLOAT.json b/data/command-api-mapping/HINCRBYFLOAT.json index 668f089418..f90bfb8545 100644 --- a/data/command-api-mapping/HINCRBYFLOAT.json +++ b/data/command-api-mapping/HINCRBYFLOAT.json @@ -300,93 +300,6 @@ "type": "double", "description": "The value at field after the increment operation." } - }, - { - "signature": "HashIncrement(key, hashField, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "Any", - "description": "The field in the hash to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value at field after the increment operation." - } - }, - { - "signature": "HashIncrement(key, hashField, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "Any", - "description": "The field in the hash to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value at field after the increment operation." - } - }, - { - "signature": "HashIncrement(RedisKey key, RedisValue hashField, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to increment." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value at field after the increment operation." - } } ], "nredisstack_async": [ @@ -447,93 +360,6 @@ "type": "Task", "description": "The value at field after the increment operation." } - }, - { - "signature": "HashIncrement(key, hashField, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "Any", - "description": "The field in the hash to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value at field after the increment operation." - } - }, - { - "signature": "HashIncrement(key, hashField, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "Any", - "description": "The field in the hash to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value at field after the increment operation." - } - }, - { - "signature": "HashIncrementAsync(RedisKey key, RedisValue hashField, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field in the hash to increment." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value at field after the increment operation." - } } ], "php": [ diff --git a/data/command-api-mapping/HKEYS.json b/data/command-api-mapping/HKEYS.json index 5734387198..f6302983b4 100644 --- a/data/command-api-mapping/HKEYS.json +++ b/data/command-api-mapping/HKEYS.json @@ -228,25 +228,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashKeys(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of fields in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashKeys(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -268,25 +249,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashKeysAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of fields in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashKeysAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HLEN.json b/data/command-api-mapping/HLEN.json index 63190941fb..ccb66e49a2 100644 --- a/data/command-api-mapping/HLEN.json +++ b/data/command-api-mapping/HLEN.json @@ -185,25 +185,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of fields in the hash, or 0 when key does not exist." - } - }, { "signature": "HashLength(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -225,25 +206,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of fields in the hash, or 0 when key does not exist." - } - }, { "signature": "HashLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HMGET.json b/data/command-api-mapping/HMGET.json index bcf8857731..cf63307120 100644 --- a/data/command-api-mapping/HMGET.json +++ b/data/command-api-mapping/HMGET.json @@ -293,54 +293,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashGet(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashGet(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashGet(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -391,54 +343,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashGetAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, - { - "signature": "HashGetAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values associated with the given fields, in the same order as they are requested." - } - }, { "signature": "HashGetAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HMSET.json b/data/command-api-mapping/HMSET.json index 2b4b8ba229..3be2dc4560 100644 --- a/data/command-api-mapping/HMSET.json +++ b/data/command-api-mapping/HMSET.json @@ -343,64 +343,6 @@ "type": "bool", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } - }, - { - "signature": "HashSet(RedisKey key, RedisValue hashField, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field to set in the hash." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to set." - }, - { - "name": "when", - "type": "When", - "description": "Which conditions under which to set the field value (defaults to always)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } - }, - { - "signature": "HashSet(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "HashEntry[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "void", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } } ], "nredisstack_async": [ @@ -461,64 +403,6 @@ "type": "Task", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } - }, - { - "signature": "HashSetAsync(RedisKey key, RedisValue hashField, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field to set in the hash." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to set." - }, - { - "name": "when", - "type": "When", - "description": "Which conditions under which to set the field value (defaults to always)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } - }, - { - "signature": "HashSetAsync(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "HashEntry[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } } ], "php": [ diff --git a/data/command-api-mapping/HPERSIST.json b/data/command-api-mapping/HPERSIST.json index b9124290e5..1c7c72e254 100644 --- a/data/command-api-mapping/HPERSIST.json +++ b/data/command-api-mapping/HPERSIST.json @@ -214,30 +214,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldPersist(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to remove expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "PersistResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description 1 Expiration time was removed. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldPersist(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -264,30 +240,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldPersistAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to remove expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description 1 Expiration time was removed. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldPersistAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HPEXPIRE.json b/data/command-api-mapping/HPEXPIRE.json index 9a1c3a7198..b0a1ec2910 100644 --- a/data/command-api-mapping/HPEXPIRE.json +++ b/data/command-api-mapping/HPEXPIRE.json @@ -1068,74 +1068,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "ExpireResult[]", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpire(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ @@ -1206,74 +1138,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "TimeSpan", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, - { - "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, DateTime expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to set expire time." - }, - { - "name": "expiry", - "type": "DateTime", - "description": "The exact date to expiry to set." - }, - { - "name": "when", - "type": "ExpireWhen", - "description": "under which condition the expiration will be set using ExpireWhen." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns an array where each item is the result of operation for given fields: Result Description 2 Field deleted because the specified expiration time is due. 1 Expiration time set/updated. 0 Expiration time is not set/update (a specified ExpireWhen condition is not met). -1 No such field exists. " - } - }, { "signature": "HashFieldExpireAsync(RedisKey key, RedisValue[] hashFields, TimeSpan expiry, ExpireWhen when = ExpireWhen.Always, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HPTTL.json b/data/command-api-mapping/HPTTL.json index 193be993ec..cc366d5794 100644 --- a/data/command-api-mapping/HPTTL.json +++ b/data/command-api-mapping/HPTTL.json @@ -214,30 +214,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldGetTimeToLive(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long[]", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Time to live, in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetTimeToLive(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -264,30 +240,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldGetTimeToLiveAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Time to live, in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetTimeToLiveAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HRANDFIELD.json b/data/command-api-mapping/HRANDFIELD.json index eaa368c9af..223cc8552e 100644 --- a/data/command-api-mapping/HRANDFIELD.json +++ b/data/command-api-mapping/HRANDFIELD.json @@ -264,25 +264,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashRandomField(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "A random hash field name or Null if the hash does not exist." - } - }, { "signature": "HashRandomField(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -304,25 +285,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashRandomFieldAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A random hash field name or Null if the hash does not exist." - } - }, { "signature": "HashRandomFieldAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HSCAN.json b/data/command-api-mapping/HSCAN.json index 962e762d1c..c3c2f17423 100644 --- a/data/command-api-mapping/HSCAN.json +++ b/data/command-api-mapping/HSCAN.json @@ -681,35 +681,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashScan(RedisKey key, RedisValue pattern, int pageSize, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "pattern", - "type": "RedisValue", - "description": "The pattern of keys to get entries for." - }, - { - "name": "pageSize", - "type": "int", - "description": "The page size to iterate by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "IEnumerable", - "description": "Yields all elements of the hash matching the pattern." - } - }, { "signature": "HashScanAsync(RedisKey key, RedisValue pattern = default, int pageSize = RedisBase.CursorUtils.DefaultLibraryPageSize, long cursor = RedisBase.CursorUtils.Origin, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HSET.json b/data/command-api-mapping/HSET.json index c5a948d701..40baa27cd9 100644 --- a/data/command-api-mapping/HSET.json +++ b/data/command-api-mapping/HSET.json @@ -504,64 +504,6 @@ "type": "bool", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } - }, - { - "signature": "HashSet(RedisKey key, RedisValue hashField, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field to set in the hash." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to set." - }, - { - "name": "when", - "type": "When", - "description": "Which conditions under which to set the field value (defaults to always)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } - }, - { - "signature": "HashSet(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "HashEntry[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "void", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } } ], "nredisstack_async": [ @@ -622,64 +564,6 @@ "type": "Task", "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." } - }, - { - "signature": "HashSetAsync(RedisKey key, RedisValue hashField, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field to set in the hash." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to set." - }, - { - "name": "when", - "type": "When", - "description": "Which conditions under which to set the field value (defaults to always)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } - }, - { - "signature": "HashSetAsync(RedisKey key, HashEntry[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "HashEntry[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if field is a new field in the hash and value was set, false if field already exists in the hash and the value was updated." - } } ], "php": [ diff --git a/data/command-api-mapping/HSTRLEN.json b/data/command-api-mapping/HSTRLEN.json index c2355a7aa9..2def721a0c 100644 --- a/data/command-api-mapping/HSTRLEN.json +++ b/data/command-api-mapping/HSTRLEN.json @@ -198,30 +198,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashStringLength(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field containing the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the string at field, or 0 when key does not exist." - } - }, { "signature": "HashStringLength(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -248,30 +224,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashStringLengthAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field containing the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string at field, or 0 when key does not exist." - } - }, { "signature": "HashStringLengthAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HTTL.json b/data/command-api-mapping/HTTL.json index 31e3cdb091..0e1c2de591 100644 --- a/data/command-api-mapping/HTTL.json +++ b/data/command-api-mapping/HTTL.json @@ -214,30 +214,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashFieldGetTimeToLive(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long[]", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Time to live, in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetTimeToLive(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ @@ -264,30 +240,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashFieldGetTimeToLiveAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashFields", - "type": "RedisValue[]", - "description": "The fields in the hash to get expire time." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Empty array if the key does not exist. Otherwise, returns the result of operation for given fields: Result Description > 0 Time to live, in milliseconds. -1 Field has no associated expiration time. -2 No such field exists. " - } - }, { "signature": "HashFieldGetTimeToLiveAsync(RedisKey key, RedisValue[] hashFields, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/HVALS.json b/data/command-api-mapping/HVALS.json index f20b57bd78..0ef1b7836f 100644 --- a/data/command-api-mapping/HVALS.json +++ b/data/command-api-mapping/HVALS.json @@ -228,25 +228,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashValues(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of values in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashValues(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -268,25 +249,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashValuesAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of values in the hash, or an empty list when key does not exist." - } - }, { "signature": "HashValuesAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/INCR.json b/data/command-api-mapping/INCR.json index 63f7dbc3fb..644e863c15 100644 --- a/data/command-api-mapping/INCR.json +++ b/data/command-api-mapping/INCR.json @@ -385,78 +385,6 @@ "type": "double", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the increment." - } } ], "nredisstack_async": [ @@ -507,78 +435,6 @@ "type": "Task", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the increment." - } } ], "php": [ diff --git a/data/command-api-mapping/INCRBY.json b/data/command-api-mapping/INCRBY.json index 7a8fc9800b..d2d3b858ae 100644 --- a/data/command-api-mapping/INCRBY.json +++ b/data/command-api-mapping/INCRBY.json @@ -390,78 +390,6 @@ "type": "double", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the increment." - } } ], "nredisstack_async": [ @@ -512,78 +440,6 @@ "type": "Task", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the increment." - } } ], "php": [ diff --git a/data/command-api-mapping/INCRBYFLOAT.json b/data/command-api-mapping/INCRBYFLOAT.json index 3717401584..41b019d7ce 100644 --- a/data/command-api-mapping/INCRBYFLOAT.json +++ b/data/command-api-mapping/INCRBYFLOAT.json @@ -245,78 +245,6 @@ "type": "double", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The value of key after the increment." - } } ], "nredisstack_async": [ @@ -367,78 +295,6 @@ "type": "Task", "description": "The value of key after the increment." } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrement(key, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the string." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The value of key after the increment." - } - }, - { - "signature": "StringIncrementAsync(RedisKey key, long value = 1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "value", - "type": "long", - "description": "The amount to increment by (defaults to 1)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The value of key after the increment." - } } ], "php": [ diff --git a/data/command-api-mapping/JSON.ARRAPPEND.json b/data/command-api-mapping/JSON.ARRAPPEND.json index 9df90889c3..5d0d6c76c3 100644 --- a/data/command-api-mapping/JSON.ARRAPPEND.json +++ b/data/command-api-mapping/JSON.ARRAPPEND.json @@ -536,6 +536,32 @@ "description": "the new array length(s); an Array for a JSONPath, a single Integer for a legacy path (nil for a match that is not an array)" } } + ], + "nredisstack_async": [ + { + "signature": "ArrAppendAsync(RedisKey key, string? path = null, params object[] values)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + }, + { + "name": "values", + "type": "object[]", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.ARRINDEX.json b/data/command-api-mapping/JSON.ARRINDEX.json index 2c43e2429f..7e4664fa24 100644 --- a/data/command-api-mapping/JSON.ARRINDEX.json +++ b/data/command-api-mapping/JSON.ARRINDEX.json @@ -704,6 +704,42 @@ "description": "the index/indices of the first match (-1 if not found)" } } + ], + "nredisstack_async": [ + { + "signature": "ArrIndexAsync(RedisKey key, string path, object value, long? start = null, long? stop = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "value", + "type": "object", + "description": "" + }, + { + "name": "start", + "type": "long?", + "description": "" + }, + { + "name": "stop", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.ARRINSERT.json b/data/command-api-mapping/JSON.ARRINSERT.json index e158ee0cb4..043b54e91f 100644 --- a/data/command-api-mapping/JSON.ARRINSERT.json +++ b/data/command-api-mapping/JSON.ARRINSERT.json @@ -502,6 +502,37 @@ "description": "the new array length(s)" } } + ], + "nredisstack_async": [ + { + "signature": "ArrInsertAsync(RedisKey key, string path, long index, params object[] values)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "index", + "type": "long", + "description": "" + }, + { + "name": "values", + "type": "object[]", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.ARRLEN.json b/data/command-api-mapping/JSON.ARRLEN.json index cde6961f55..eb4b2a0224 100644 --- a/data/command-api-mapping/JSON.ARRLEN.json +++ b/data/command-api-mapping/JSON.ARRLEN.json @@ -331,6 +331,27 @@ "description": "the array length(s); nil for a match that is not an array, or when the key/path does not exist" } } + ], + "nredisstack_async": [ + { + "signature": "ArrLenAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.ARRPOP.json b/data/command-api-mapping/JSON.ARRPOP.json index 701a1543dd..7d7a0527f8 100644 --- a/data/command-api-mapping/JSON.ARRPOP.json +++ b/data/command-api-mapping/JSON.ARRPOP.json @@ -491,6 +491,32 @@ "description": "the popped value(s); an Array for a JSONPath, a single value for a legacy path, nil for an empty array or a non-array match" } } + ], + "nredisstack_async": [ + { + "signature": "ArrPopAsync(RedisKey key, string? path = null, long? index = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + }, + { + "name": "index", + "type": "long?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.ARRTRIM.json b/data/command-api-mapping/JSON.ARRTRIM.json index b4ff226f69..e2206c372a 100644 --- a/data/command-api-mapping/JSON.ARRTRIM.json +++ b/data/command-api-mapping/JSON.ARRTRIM.json @@ -380,6 +380,37 @@ "description": "the new array length(s)" } } + ], + "nredisstack_async": [ + { + "signature": "ArrTrimAsync(RedisKey key, string path, long start, long stop)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "start", + "type": "long", + "description": "" + }, + { + "name": "stop", + "type": "long", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.CLEAR.json b/data/command-api-mapping/JSON.CLEAR.json index d803918ef5..bb2251d258 100644 --- a/data/command-api-mapping/JSON.CLEAR.json +++ b/data/command-api-mapping/JSON.CLEAR.json @@ -345,6 +345,27 @@ "description": "the number of values cleared" } } + ], + "nredisstack_async": [ + { + "signature": "ClearAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.DEBUG MEMORY.json b/data/command-api-mapping/JSON.DEBUG MEMORY.json index 6585b6095d..40bd1b7619 100644 --- a/data/command-api-mapping/JSON.DEBUG MEMORY.json +++ b/data/command-api-mapping/JSON.DEBUG MEMORY.json @@ -121,6 +121,27 @@ "description": "the size(s) in bytes: an Array for a JSONPath, a single integer for a legacy path or when no path is given (0 for a missing key)" } } + ], + "nredisstack_async": [ + { + "signature": "DebugMemoryAsync(string key, string? path = null)", + "params": [ + { + "name": "key", + "type": "string", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.DEL.json b/data/command-api-mapping/JSON.DEL.json index 0e97d0fa35..9af012f103 100644 --- a/data/command-api-mapping/JSON.DEL.json +++ b/data/command-api-mapping/JSON.DEL.json @@ -345,6 +345,27 @@ "description": "the number of values deleted" } } + ], + "nredisstack_async": [ + { + "signature": "DelAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.FORGET.json b/data/command-api-mapping/JSON.FORGET.json index 2db712d116..098231fe1a 100644 --- a/data/command-api-mapping/JSON.FORGET.json +++ b/data/command-api-mapping/JSON.FORGET.json @@ -88,6 +88,27 @@ "description": "the number of values deleted (alias of json_del)" } } + ], + "nredisstack_async": [ + { + "signature": "ForgetAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.GET.json b/data/command-api-mapping/JSON.GET.json index fe6beb9275..945228f509 100644 --- a/data/command-api-mapping/JSON.GET.json +++ b/data/command-api-mapping/JSON.GET.json @@ -340,7 +340,7 @@ } ], "returns": { - "type": "public T?", + "type": "T?", "description": "" } } @@ -448,6 +448,32 @@ "description": "the parsed JSON value (or the raw JSON string when raw is true), or nil if the key does not exist" } } + ], + "nredisstack_async": [ + { + "signature": "GetAsync(RedisKey key, string path = \"$\", JsonSerializerOptions? serializerOptions = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "serializerOptions", + "type": "JsonSerializerOptions?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.MERGE.json b/data/command-api-mapping/JSON.MERGE.json index fdb5111a33..785a7bd81c 100644 --- a/data/command-api-mapping/JSON.MERGE.json +++ b/data/command-api-mapping/JSON.MERGE.json @@ -399,6 +399,61 @@ "description": "the raw \"OK\" reply" } } + ], + "nredisstack_async": [ + { + "signature": "MergeAsync(RedisKey key, RedisValue path, RedisValue json)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "RedisValue", + "description": "" + }, + { + "name": "json", + "type": "RedisValue", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + }, + { + "signature": "MergeAsync(RedisKey key, RedisValue path, object obj, JsonSerializerOptions? serializerOptions = default)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "RedisValue", + "description": "" + }, + { + "name": "obj", + "type": "object", + "description": "" + }, + { + "name": "serializerOptions", + "type": "JsonSerializerOptions?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.MGET.json b/data/command-api-mapping/JSON.MGET.json index 051654c92c..468978f4dd 100644 --- a/data/command-api-mapping/JSON.MGET.json +++ b/data/command-api-mapping/JSON.MGET.json @@ -361,6 +361,27 @@ "description": "one value per key (nil for a missing key/path)" } } + ], + "nredisstack_async": [ + { + "signature": "MGetAsync(RedisKey[] keys, string path)", + "params": [ + { + "name": "keys", + "type": "RedisKey[]", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.MSET.json b/data/command-api-mapping/JSON.MSET.json index 728ab172c8..1f1ceacde5 100644 --- a/data/command-api-mapping/JSON.MSET.json +++ b/data/command-api-mapping/JSON.MSET.json @@ -185,6 +185,22 @@ "description": "the raw \"OK\" reply" } } + ], + "nredisstack_async": [ + { + "signature": "MSetAsync(KeyPathValue[] KeyPathValueList)", + "params": [ + { + "name": "KeyPathValueList", + "type": "KeyPathValue[]", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.NUMINCRBY.json b/data/command-api-mapping/JSON.NUMINCRBY.json index cf54c7451c..4ade8e7b10 100644 --- a/data/command-api-mapping/JSON.NUMINCRBY.json +++ b/data/command-api-mapping/JSON.NUMINCRBY.json @@ -340,6 +340,32 @@ "description": "the new value(s): an Array for a JSONPath, a single number for a legacy path; nil (or nil element) for a non-numeric match" } } + ], + "nredisstack_async": [ + { + "signature": "NumIncrbyAsync(RedisKey key, string path, double value)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string", + "description": "" + }, + { + "name": "value", + "type": "double", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.OBJKEYS.json b/data/command-api-mapping/JSON.OBJKEYS.json index 91fb7c65ca..da95f7ee76 100644 --- a/data/command-api-mapping/JSON.OBJKEYS.json +++ b/data/command-api-mapping/JSON.OBJKEYS.json @@ -331,6 +331,27 @@ "description": "an array of key-name arrays (JSONPath) or a single array of key names (legacy path); nil for a non-object match" } } + ], + "nredisstack_async": [ + { + "signature": "ObjKeysAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task>>", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.OBJLEN.json b/data/command-api-mapping/JSON.OBJLEN.json index b520b8487b..23136491c6 100644 --- a/data/command-api-mapping/JSON.OBJLEN.json +++ b/data/command-api-mapping/JSON.OBJLEN.json @@ -331,6 +331,27 @@ "description": "the key count(s): an Array for a JSONPath, a single integer for a legacy path; nil for a non-object match" } } + ], + "nredisstack_async": [ + { + "signature": "ObjLenAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.RESP.json b/data/command-api-mapping/JSON.RESP.json index 9e9cf684b3..3eaefa4463 100644 --- a/data/command-api-mapping/JSON.RESP.json +++ b/data/command-api-mapping/JSON.RESP.json @@ -62,6 +62,27 @@ "description": "" } } + ], + "nredisstack_async": [ + { + "signature": "RespAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.SET.json b/data/command-api-mapping/JSON.SET.json index bd025e7816..bef4c08b70 100644 --- a/data/command-api-mapping/JSON.SET.json +++ b/data/command-api-mapping/JSON.SET.json @@ -574,35 +574,6 @@ } ], "nredisstack_sync": [ - { - "signature": "Set(key, path, json, when)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "" - }, - { - "name": "path", - "type": "Any", - "description": "" - }, - { - "name": "json", - "type": "Any", - "description": "" - }, - { - "name": "when", - "type": "Any", - "description": "" - } - ], - "returns": { - "type": "return", - "description": "" - } - }, { "signature": "Set(RedisKey key, RedisValue path, RedisValue json, When when = When.Always)", "params": [ @@ -631,35 +602,6 @@ "type": "bool", "description": "" } - }, - { - "signature": "Set(key, path, fileContent, when)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "" - }, - { - "name": "path", - "type": "Any", - "description": "" - }, - { - "name": "fileContent", - "type": "Any", - "description": "" - }, - { - "name": "when", - "type": "Any", - "description": "" - } - ], - "returns": { - "type": "return", - "description": "" - } } ], "php": [ @@ -785,6 +727,37 @@ "description": "when nx or xx is given, true on success and false when the condition was not met; otherwise the raw \"OK\" reply" } } + ], + "nredisstack_async": [ + { + "signature": "SetAsync(RedisKey key, RedisValue path, RedisValue json, When when = When.Always)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "RedisValue", + "description": "" + }, + { + "name": "json", + "type": "RedisValue", + "description": "" + }, + { + "name": "when", + "type": "When", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.STRAPPEND.json b/data/command-api-mapping/JSON.STRAPPEND.json index 65930c3883..8e94af9350 100644 --- a/data/command-api-mapping/JSON.STRAPPEND.json +++ b/data/command-api-mapping/JSON.STRAPPEND.json @@ -550,6 +550,32 @@ "description": "the new string length(s): an Array for a JSONPath, a single integer for a legacy path; nil for a non-string match" } } + ], + "nredisstack_async": [ + { + "signature": "StrAppendAsync(RedisKey key, string value, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "value", + "type": "string", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.STRLEN.json b/data/command-api-mapping/JSON.STRLEN.json index 358cf60cd5..5ddfc9a2fe 100644 --- a/data/command-api-mapping/JSON.STRLEN.json +++ b/data/command-api-mapping/JSON.STRLEN.json @@ -331,6 +331,27 @@ "description": "the string length(s): an Array for a JSONPath, a single integer for a legacy path; nil for a non-string match" } } + ], + "nredisstack_async": [ + { + "signature": "StrLenAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.TOGGLE.json b/data/command-api-mapping/JSON.TOGGLE.json index eb457af759..a05d6905ca 100644 --- a/data/command-api-mapping/JSON.TOGGLE.json +++ b/data/command-api-mapping/JSON.TOGGLE.json @@ -275,6 +275,27 @@ "description": "1/0 for the new true/false value(s): an Array for a JSONPath, a single value for a legacy path; nil for a non-boolean match" } } + ], + "nredisstack_async": [ + { + "signature": "ToggleAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/JSON.TYPE.json b/data/command-api-mapping/JSON.TYPE.json index 31b49fb2d1..2a83edcdc6 100644 --- a/data/command-api-mapping/JSON.TYPE.json +++ b/data/command-api-mapping/JSON.TYPE.json @@ -331,6 +331,27 @@ "description": "the type name(s): an Array for a JSONPath, a single string for a legacy path" } } + ], + "nredisstack_async": [ + { + "signature": "TypeAsync(RedisKey key, string? path = null)", + "params": [ + { + "name": "key", + "type": "RedisKey", + "description": "" + }, + { + "name": "path", + "type": "string?", + "description": "" + } + ], + "returns": { + "type": "Task", + "description": "" + } + } ] } } diff --git a/data/command-api-mapping/KEYS.json b/data/command-api-mapping/KEYS.json index 93f401e9cc..9e43e827aa 100644 --- a/data/command-api-mapping/KEYS.json +++ b/data/command-api-mapping/KEYS.json @@ -133,8 +133,13 @@ ], "nredisstack_sync": [ { - "signature": "Keys(RedisValue pattern, int pageSize, long cursor, int pageOffset, CommandFlags flags)", + "signature": "Keys(int database = -1, RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ + { + "name": "database", + "type": "int", + "description": "" + }, { "name": "pattern", "type": "RedisValue", @@ -169,8 +174,13 @@ ], "nredisstack_async": [ { - "signature": "Keys(RedisValue pattern, int pageSize, long cursor, int pageOffset, CommandFlags flags)", + "signature": "KeysAsync(int database = -1, RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ + { + "name": "database", + "type": "int", + "description": "" + }, { "name": "pattern", "type": "RedisValue", diff --git a/data/command-api-mapping/LINDEX.json b/data/command-api-mapping/LINDEX.json index a478693f2e..96d33c0d15 100644 --- a/data/command-api-mapping/LINDEX.json +++ b/data/command-api-mapping/LINDEX.json @@ -219,30 +219,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListGetByIndex(RedisKey key, long index, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "index", - "type": "long", - "description": "The index position to get the value at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The requested element, or Null when index is out of range." - } - }, { "signature": "ListGetByIndex(RedisKey key, long index, CommandFlags flags = CommandFlags.None)", "params": [ @@ -269,30 +245,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListGetByIndexAsync(RedisKey key, long index, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "index", - "type": "long", - "description": "The index position to get the value at." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The requested element, or Null when index is out of range." - } - }, { "signature": "ListGetByIndexAsync(RedisKey key, long index, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/LINSERT.json b/data/command-api-mapping/LINSERT.json index 598842e2ea..829e182774 100644 --- a/data/command-api-mapping/LINSERT.json +++ b/data/command-api-mapping/LINSERT.json @@ -410,64 +410,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListInsertAfter(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "pivot", - "type": "RedisValue", - "description": "The value to insert after." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to insert." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the insert operation, or -1 when the value pivot was not found." - } - }, - { - "signature": "ListInsertBefore(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "pivot", - "type": "RedisValue", - "description": "The value to insert before." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to insert." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the insert operation, or -1 when the value pivot was not found." - } - }, { "signature": "ListInsertAfter(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -528,64 +470,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListInsertAfterAsync(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "pivot", - "type": "RedisValue", - "description": "The value to insert after." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to insert." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the insert operation, or -1 when the value pivot was not found." - } - }, - { - "signature": "ListInsertBeforeAsync(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "pivot", - "type": "RedisValue", - "description": "The value to insert before." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to insert." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the insert operation, or -1 when the value pivot was not found." - } - }, { "signature": "ListInsertAfterAsync(RedisKey key, RedisValue pivot, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/LLEN.json b/data/command-api-mapping/LLEN.json index 6ce5d78501..c5a88d9545 100644 --- a/data/command-api-mapping/LLEN.json +++ b/data/command-api-mapping/LLEN.json @@ -199,25 +199,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list at key." - } - }, { "signature": "ListLength(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -239,25 +220,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list at key." - } - }, { "signature": "ListLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/LMOVE.json b/data/command-api-mapping/LMOVE.json index 170629bb5f..9e532fd110 100644 --- a/data/command-api-mapping/LMOVE.json +++ b/data/command-api-mapping/LMOVE.json @@ -367,40 +367,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListMove(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the list to remove from." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "The key of the list to move to." - }, - { - "name": "sourceSide", - "type": "ListSide", - "description": "What side of the sourceKey list to remove from." - }, - { - "name": "destinationSide", - "type": "ListSide", - "description": "What side of the destinationKey list to move to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The element being popped and pushed or Null if there is no element to move." - } - }, { "signature": "ListMove(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", "params": [ @@ -437,40 +403,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListMoveAsync(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "sourceKey", - "type": "RedisKey", - "description": "The key of the list to remove from." - }, - { - "name": "destinationKey", - "type": "RedisKey", - "description": "The key of the list to move to." - }, - { - "name": "sourceSide", - "type": "ListSide", - "description": "What side of the sourceKey list to remove from." - }, - { - "name": "destinationSide", - "type": "ListSide", - "description": "What side of the destinationKey list to move to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The element being popped and pushed or Null if there is no element to move." - } - }, { "signature": "ListMoveAsync(RedisKey sourceKey, RedisKey destinationKey, ListSide sourceSide, ListSide destinationSide, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/LPOP.json b/data/command-api-mapping/LPOP.json index 14fb9b7f50..26ea462f04 100644 --- a/data/command-api-mapping/LPOP.json +++ b/data/command-api-mapping/LPOP.json @@ -385,49 +385,6 @@ "type": "ListPopResult", "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." } - }, - { - "signature": "ListLeftPop(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } - }, - { - "signature": "ListLeftPop(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of elements to pop from the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } } ], "nredisstack_async": [ @@ -497,49 +454,6 @@ "type": "Task", "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." } - }, - { - "signature": "ListLeftPopAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } - }, - { - "signature": "ListLeftPopAsync(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of elements to pop from the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } } ], "php": [ diff --git a/data/command-api-mapping/LPOS.json b/data/command-api-mapping/LPOS.json index 5edc3e83b4..fdb31edd43 100644 --- a/data/command-api-mapping/LPOS.json +++ b/data/command-api-mapping/LPOS.json @@ -698,79 +698,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListPosition(RedisKey key, RedisValue element, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "element", - "type": "RedisValue", - "description": "The element to search for." - }, - { - "name": "rank", - "type": "long", - "description": "The rank of the first element to return, within the sub-list of matching indexes in the case of multiple matches." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum number of elements to scan through before stopping, defaults to 0 (a full scan of the list.)" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The 0-based index of the first matching element, or -1 if not found." - } - }, - { - "signature": "ListPositions(RedisKey key, RedisValue element, long count, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "element", - "type": "RedisValue", - "description": "The element to search for." - }, - { - "name": "count", - "type": "long", - "description": "of indexes of matching elements. If none are found, and empty array is returned. " - }, - { - "name": "rank", - "type": "long", - "description": "The rank of the first element to return, within the sub-list of matching indexes in the case of multiple matches." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum number of elements to scan through before stopping, defaults to 0 (a full scan of the list.)" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long[]", - "description": "" - } - }, { "signature": "ListPosition(RedisKey key, RedisValue element, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -846,79 +773,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListPositionAsync(RedisKey key, RedisValue element, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "element", - "type": "RedisValue", - "description": "The element to search for." - }, - { - "name": "rank", - "type": "long", - "description": "The rank of the first element to return, within the sub-list of matching indexes in the case of multiple matches." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum number of elements to scan through before stopping, defaults to 0 (a full scan of the list.)" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The 0-based index of the first matching element, or -1 if not found." - } - }, - { - "signature": "ListPositionsAsync(RedisKey key, RedisValue element, long count, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "element", - "type": "RedisValue", - "description": "The element to search for." - }, - { - "name": "count", - "type": "long", - "description": "of indexes of matching elements. If none are found, and empty array is returned. " - }, - { - "name": "rank", - "type": "long", - "description": "The rank of the first element to return, within the sub-list of matching indexes in the case of multiple matches." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum number of elements to scan through before stopping, defaults to 0 (a full scan of the list.)" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "ListPositionAsync(RedisKey key, RedisValue element, long rank = 1, long maxLength = 0, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/LPUSH.json b/data/command-api-mapping/LPUSH.json index e323dc57ac..031801f958 100644 --- a/data/command-api-mapping/LPUSH.json +++ b/data/command-api-mapping/LPUSH.json @@ -359,64 +359,6 @@ "type": "long", "description": "The length of the list after the push operations." } - }, - { - "signature": "ListLeftPush(RedisKey key, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the push operations." - } - }, - { - "signature": "ListLeftPush(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the head of the list." - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the push operations." - } } ], "nredisstack_async": [ @@ -501,64 +443,6 @@ "type": "Task", "description": "The length of the list after the push operations." } - }, - { - "signature": "ListLeftPushAsync(RedisKey key, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the push operations." - } - }, - { - "signature": "ListLeftPushAsync(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the head of the list." - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the push operations." - } } ], "php": [ diff --git a/data/command-api-mapping/LRANGE.json b/data/command-api-mapping/LRANGE.json index 472608847c..7e8a046dde 100644 --- a/data/command-api-mapping/LRANGE.json +++ b/data/command-api-mapping/LRANGE.json @@ -382,35 +382,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListRange(RedisKey key, long start = 0, long stop = -1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the list." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index of the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of elements in the specified range." - } - }, { "signature": "ListRange(RedisKey key, long start = 0, long stop = -1, CommandFlags flags = CommandFlags.None)", "params": [ @@ -442,35 +413,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListRangeAsync(RedisKey key, long start = 0, long stop = -1, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the list." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index of the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of elements in the specified range." - } - }, { "signature": "ListRangeAsync(RedisKey key, long start = 0, long stop = -1, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/LREM.json b/data/command-api-mapping/LREM.json index a80cba811d..11502b58cb 100644 --- a/data/command-api-mapping/LREM.json +++ b/data/command-api-mapping/LREM.json @@ -293,35 +293,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListRemove(RedisKey key, RedisValue value, long count = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to remove from the list." - }, - { - "name": "count", - "type": "long", - "description": "The count behavior (see method summary)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of removed elements." - } - }, { "signature": "ListRemove(RedisKey key, RedisValue value, long count = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -353,35 +324,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListRemoveAsync(RedisKey key, RedisValue value, long count = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to remove from the list." - }, - { - "name": "count", - "type": "long", - "description": "The count behavior (see method summary)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of removed elements." - } - }, { "signature": "ListRemoveAsync(RedisKey key, RedisValue value, long count = 0, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/LSET.json b/data/command-api-mapping/LSET.json index 9ad0153ca6..54dd69340b 100644 --- a/data/command-api-mapping/LSET.json +++ b/data/command-api-mapping/LSET.json @@ -293,35 +293,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListSetByIndex(RedisKey key, long index, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "index", - "type": "long", - "description": "The index to set the value at." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The values to add to the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "void", - "description": "" - } - }, { "signature": "ListSetByIndex(RedisKey key, long index, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -353,35 +324,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListSetByIndexAsync(RedisKey key, long index, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "index", - "type": "long", - "description": "The index to set the value at." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The values to add to the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "ListSetByIndexAsync(RedisKey key, long index, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/LTRIM.json b/data/command-api-mapping/LTRIM.json index b533728435..0153105962 100644 --- a/data/command-api-mapping/LTRIM.json +++ b/data/command-api-mapping/LTRIM.json @@ -293,35 +293,6 @@ } ], "nredisstack_sync": [ - { - "signature": "ListTrim(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the list to trim to." - }, - { - "name": "stop", - "type": "long", - "description": "The end index of the list to trim to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "void", - "description": "" - } - }, { "signature": "ListTrim(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", "params": [ @@ -353,35 +324,6 @@ } ], "nredisstack_async": [ - { - "signature": "ListTrimAsync(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "start", - "type": "long", - "description": "The start index of the list to trim to." - }, - { - "name": "stop", - "type": "long", - "description": "The end index of the list to trim to." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "ListTrimAsync(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/RPOP.json b/data/command-api-mapping/RPOP.json index dd7b02e69c..8094173735 100644 --- a/data/command-api-mapping/RPOP.json +++ b/data/command-api-mapping/RPOP.json @@ -366,49 +366,6 @@ "type": "ListPopResult", "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." } - }, - { - "signature": "ListRightPop(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } - }, - { - "signature": "ListRightPop(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of elements to pop from the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } } ], "nredisstack_async": [ @@ -478,49 +435,6 @@ "type": "Task", "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." } - }, - { - "signature": "ListRightPopAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } - }, - { - "signature": "ListRightPopAsync(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of elements to pop from the list." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A span of contiguous elements from the list, or Null if no non-empty lists are found." - } } ], "php": [ diff --git a/data/command-api-mapping/RPUSH.json b/data/command-api-mapping/RPUSH.json index 5100926126..cc2a3bfb30 100644 --- a/data/command-api-mapping/RPUSH.json +++ b/data/command-api-mapping/RPUSH.json @@ -359,64 +359,6 @@ "type": "long", "description": "The length of the list after the push operation." } - }, - { - "signature": "ListRightPush(RedisKey key, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the push operation." - } - }, - { - "signature": "ListRightPush(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the tail of the list." - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the list after the push operation." - } } ], "nredisstack_async": [ @@ -501,64 +443,6 @@ "type": "Task", "description": "The length of the list after the push operation." } - }, - { - "signature": "ListRightPushAsync(RedisKey key, RedisValue value, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the push operation." - } - }, - { - "signature": "ListRightPushAsync(RedisKey key, RedisValue[] values, When when = When.Always, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the list." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the tail of the list." - }, - { - "name": "when", - "type": "When", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the list after the push operation." - } } ], "php": [ diff --git a/data/command-api-mapping/SADD.json b/data/command-api-mapping/SADD.json index 188b7def1e..f972821cf7 100644 --- a/data/command-api-mapping/SADD.json +++ b/data/command-api-mapping/SADD.json @@ -302,54 +302,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetAdd(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, - { - "signature": "SetAdd(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, { "signature": "SetAdd(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -400,54 +352,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetAddAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, - { - "signature": "SetAddAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to add to the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements that were added to the set, not including all the elements already present into the set." - } - }, { "signature": "SetAddAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SCAN.json b/data/command-api-mapping/SCAN.json index 882d31ac3c..48295eb9ff 100644 --- a/data/command-api-mapping/SCAN.json +++ b/data/command-api-mapping/SCAN.json @@ -324,8 +324,13 @@ ], "nredisstack_sync": [ { - "signature": "Scan(RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", + "signature": "Keys(int database = -1, RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ + { + "name": "database", + "type": "int", + "description": "" + }, { "name": "pattern", "type": "RedisValue", @@ -360,8 +365,13 @@ ], "nredisstack_async": [ { - "signature": "Scan(RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", + "signature": "KeysAsync(int database = -1, RedisValue pattern = default, int pageSize = 250, long cursor = 0, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ + { + "name": "database", + "type": "int", + "description": "" + }, { "name": "pattern", "type": "RedisValue", diff --git a/data/command-api-mapping/SCARD.json b/data/command-api-mapping/SCARD.json index 5bdb76f681..18d456cbac 100644 --- a/data/command-api-mapping/SCARD.json +++ b/data/command-api-mapping/SCARD.json @@ -185,25 +185,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The cardinality (number of elements) of the set, or 0 if key does not exist." - } - }, { "signature": "SetLength(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -225,25 +206,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The cardinality (number of elements) of the set, or 0 if key does not exist." - } - }, { "signature": "SetLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SDIFF.json b/data/command-api-mapping/SDIFF.json index 542c00c7f5..7951da8dd6 100644 --- a/data/command-api-mapping/SDIFF.json +++ b/data/command-api-mapping/SDIFF.json @@ -308,59 +308,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombine(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -416,59 +363,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SDIFFSTORE.json b/data/command-api-mapping/SDIFFSTORE.json index 1d4281e284..5d1e006929 100644 --- a/data/command-api-mapping/SDIFFSTORE.json +++ b/data/command-api-mapping/SDIFFSTORE.json @@ -283,69 +283,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -411,69 +348,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SETBIT.json b/data/command-api-mapping/SETBIT.json index 9882839c6e..193d2b67cc 100644 --- a/data/command-api-mapping/SETBIT.json +++ b/data/command-api-mapping/SETBIT.json @@ -323,93 +323,6 @@ "type": "bool", "description": "The original bit value stored at offset." } - }, - { - "signature": "StringSetBitAsync(RedisKey key, long offset, bool bit, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "bit", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StringSetBit(RedisKey key, long offset, bool bit, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to set bit." - }, - { - "name": "bit", - "type": "bool", - "description": "The bit value to set, true for 1, false for 0." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The original bit value stored at offset." - } - }, - { - "signature": "StringSetBitAsync(RedisKey key, long offset, bool value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "offset", - "type": "long", - "description": "" - }, - { - "name": "value", - "type": "bool", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } } ], "nredisstack_async": [ @@ -471,35 +384,6 @@ "description": "The original bit value stored at offset." } }, - { - "signature": "StringSetBitAsync(RedisKey key, long offset, bool bit, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to set bit." - }, - { - "name": "bit", - "type": "bool", - "description": "The bit value to set, true for 1, false for 0." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The original bit value stored at offset." - } - }, { "signature": "StringSetBitAsync(RedisKey key, long offset, bool value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SETRANGE.json b/data/command-api-mapping/SETRANGE.json index 78174d527e..de54625cf0 100644 --- a/data/command-api-mapping/SETRANGE.json +++ b/data/command-api-mapping/SETRANGE.json @@ -295,35 +295,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StringSetRange(RedisKey key, long offset, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to overwrite." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to overwrite with." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "The length of the string after it was modified by the command." - } - }, { "signature": "StringSetRange(RedisKey key, long offset, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -355,35 +326,6 @@ } ], "nredisstack_async": [ - { - "signature": "StringSetRangeAsync(RedisKey key, long offset, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "offset", - "type": "long", - "description": "The offset in the string to overwrite." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to overwrite with." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string after it was modified by the command." - } - }, { "signature": "StringSetRangeAsync(RedisKey key, long offset, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SINTER.json b/data/command-api-mapping/SINTER.json index aa1bfa357b..0b291e68ea 100644 --- a/data/command-api-mapping/SINTER.json +++ b/data/command-api-mapping/SINTER.json @@ -308,59 +308,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombine(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -416,59 +363,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SINTERCARD.json b/data/command-api-mapping/SINTERCARD.json index 6c8af79534..61ccc8f335 100644 --- a/data/command-api-mapping/SINTERCARD.json +++ b/data/command-api-mapping/SINTERCARD.json @@ -379,30 +379,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetIntersectionLength(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets." - }, - { - "name": "limit", - "type": "long", - "description": "The number of elements to check (defaults to 0 and means unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The cardinality (number of elements) of the set, or 0 if key does not exist." - } - }, { "signature": "SetIntersectionLength(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -429,30 +405,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetIntersectionLengthAsync(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets." - }, - { - "name": "limit", - "type": "long", - "description": "The number of elements to check (defaults to 0 and means unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The cardinality (number of elements) of the set, or 0 if key does not exist." - } - }, { "signature": "SetIntersectionLengthAsync(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SINTERSTORE.json b/data/command-api-mapping/SINTERSTORE.json index 7f97f00c69..7327ae4351 100644 --- a/data/command-api-mapping/SINTERSTORE.json +++ b/data/command-api-mapping/SINTERSTORE.json @@ -307,69 +307,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -435,69 +372,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SISMEMBER.json b/data/command-api-mapping/SISMEMBER.json index 28fc50da0e..baaa1cb77e 100644 --- a/data/command-api-mapping/SISMEMBER.json +++ b/data/command-api-mapping/SISMEMBER.json @@ -240,54 +240,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetContains(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, - { - "signature": "SetContains(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The members to check for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool[]", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, { "signature": "SetContains(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -338,54 +290,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetContainsAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, - { - "signature": "SetContainsAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The members to check for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, { "signature": "SetContainsAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SMEMBERS.json b/data/command-api-mapping/SMEMBERS.json index a625f8cc00..9312b74421 100644 --- a/data/command-api-mapping/SMEMBERS.json +++ b/data/command-api-mapping/SMEMBERS.json @@ -228,25 +228,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetMembers(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "All elements of the set." - } - }, { "signature": "SetMembers(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -268,25 +249,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetMembersAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "All elements of the set." - } - }, { "signature": "SetMembersAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SMISMEMBER.json b/data/command-api-mapping/SMISMEMBER.json index 9c79ef3786..f9982d4cd8 100644 --- a/data/command-api-mapping/SMISMEMBER.json +++ b/data/command-api-mapping/SMISMEMBER.json @@ -307,54 +307,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetContains(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, - { - "signature": "SetContains(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The members to check for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool[]", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, { "signature": "SetContains(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -405,54 +357,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetContainsAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, - { - "signature": "SetContainsAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The members to check for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is a member of the set. false if the element is not a member of the set, or if key does not exist." - } - }, { "signature": "SetContainsAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SMOVE.json b/data/command-api-mapping/SMOVE.json index a58a4be5ad..2a1b3a1744 100644 --- a/data/command-api-mapping/SMOVE.json +++ b/data/command-api-mapping/SMOVE.json @@ -295,35 +295,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetMove(RedisKey source, RedisKey destination, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "source", - "type": "RedisKey", - "description": "The key of the source set." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to move." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the element is moved. false if the element is not a member of source and no operation was performed." - } - }, { "signature": "SetMove(RedisKey source, RedisKey destination, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -355,35 +326,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetMoveAsync(RedisKey source, RedisKey destination, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "source", - "type": "RedisKey", - "description": "The key of the source set." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "The value to move." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the element is moved. false if the element is not a member of source and no operation was performed." - } - }, { "signature": "SetMoveAsync(RedisKey source, RedisKey destination, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SPOP.json b/data/command-api-mapping/SPOP.json index 66ad4787f9..ff5f0d0a9c 100644 --- a/data/command-api-mapping/SPOP.json +++ b/data/command-api-mapping/SPOP.json @@ -276,49 +276,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetPop(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "An array of elements, or an empty array when key does not exist." - } - }, - { - "signature": "SetPop(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "count", - "type": "long", - "description": "The number of elements to return." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "An array of elements, or an empty array when key does not exist." - } - }, { "signature": "SetPop(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -364,49 +321,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetPopAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An array of elements, or an empty array when key does not exist." - } - }, - { - "signature": "SetPopAsync(RedisKey key, long count, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "count", - "type": "long", - "description": "The number of elements to return." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An array of elements, or an empty array when key does not exist." - } - }, { "signature": "SetPopAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SREM.json b/data/command-api-mapping/SREM.json index 9c6df6672c..0701629375 100644 --- a/data/command-api-mapping/SREM.json +++ b/data/command-api-mapping/SREM.json @@ -302,54 +302,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetRemove(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of members that were removed from the set, not including non existing members." - } - }, - { - "signature": "SetRemove(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of members that were removed from the set, not including non existing members." - } - }, { "signature": "SetRemove(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -400,54 +352,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetRemoveAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "value", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of members that were removed from the set, not including non existing members." - } - }, - { - "signature": "SetRemoveAsync(RedisKey key, RedisValue[] values, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "values", - "type": "RedisValue[]", - "description": "The values to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of members that were removed from the set, not including non existing members." - } - }, { "signature": "SetRemoveAsync(RedisKey key, RedisValue value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SSCAN.json b/data/command-api-mapping/SSCAN.json index 9df658ad21..0e3cb2c14e 100644 --- a/data/command-api-mapping/SSCAN.json +++ b/data/command-api-mapping/SSCAN.json @@ -643,35 +643,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetScan(RedisKey key, RedisValue pattern, int pageSize, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the set." - }, - { - "name": "pattern", - "type": "RedisValue", - "description": "The pattern to match." - }, - { - "name": "pageSize", - "type": "int", - "description": "The page size to iterate by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "IEnumerable", - "description": "Yields all matching elements of the set." - } - }, { "signature": "SetScanAsync(RedisKey key, RedisValue pattern = default, int pageSize = RedisBase.CursorUtils.DefaultLibraryPageSize, long cursor = RedisBase.CursorUtils.Origin, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/STRLEN.json b/data/command-api-mapping/STRLEN.json index 3fa3711153..266250eaf8 100644 --- a/data/command-api-mapping/STRLEN.json +++ b/data/command-api-mapping/STRLEN.json @@ -185,49 +185,6 @@ } ], "nredisstack_sync": [ - { - "signature": "HashStringLength(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field containing the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the string at field, or 0 when key does not exist." - } - }, - { - "signature": "StringLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The length of the string at key, or 0 when key does not exist." - } - }, { "signature": "HashStringLength(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ @@ -273,49 +230,6 @@ } ], "nredisstack_async": [ - { - "signature": "HashStringLengthAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the hash." - }, - { - "name": "hashField", - "type": "RedisValue", - "description": "The field containing the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string at field, or 0 when key does not exist." - } - }, - { - "signature": "StringLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the string." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The length of the string at key, or 0 when key does not exist." - } - }, { "signature": "HashStringLengthAsync(RedisKey key, RedisValue hashField, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SUBSTR.json b/data/command-api-mapping/SUBSTR.json index f398d1e034..e1cc6ab5bd 100644 --- a/data/command-api-mapping/SUBSTR.json +++ b/data/command-api-mapping/SUBSTR.json @@ -347,58 +347,8 @@ } } ], - "nredisstack_sync": [ - { - "signature": "GetRange(double value, Exclude exclude, bool isStart)", - "params": [ - { - "name": "value", - "type": "double", - "description": "" - }, - { - "name": "exclude", - "type": "Exclude", - "description": "" - }, - { - "name": "isStart", - "type": "bool", - "description": "" - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } - } - ], - "nredisstack_async": [ - { - "signature": "GetRange(double value, Exclude exclude, bool isStart)", - "params": [ - { - "name": "value", - "type": "double", - "description": "" - }, - { - "name": "exclude", - "type": "Exclude", - "description": "" - }, - { - "name": "isStart", - "type": "bool", - "description": "" - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } - } - ], + "nredisstack_sync": [], + "nredisstack_async": [], "php": [ { "signature": "getrange(string $key, $start, $end)", diff --git a/data/command-api-mapping/SUNION.json b/data/command-api-mapping/SUNION.json index b9003519b0..efb7f5ef36 100644 --- a/data/command-api-mapping/SUNION.json +++ b/data/command-api-mapping/SUNION.json @@ -308,59 +308,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombine(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombine(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -416,59 +363,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, - { - "signature": "SetCombineAsync(SetOperation operation, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List with members of the resulting set." - } - }, { "signature": "SetCombineAsync(SetOperation operation, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/SUNIONSTORE.json b/data/command-api-mapping/SUNIONSTORE.json index 2683dba363..8fd8164f1c 100644 --- a/data/command-api-mapping/SUNIONSTORE.json +++ b/data/command-api-mapping/SUNIONSTORE.json @@ -283,69 +283,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ @@ -411,69 +348,6 @@ } ], "nredisstack_async": [ - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, - { - "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key of the destination set." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sets to operate on." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting set." - } - }, { "signature": "SetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XACK.json b/data/command-api-mapping/XACK.json index 2db0e4d99b..2a030f6f5e 100644 --- a/data/command-api-mapping/XACK.json +++ b/data/command-api-mapping/XACK.json @@ -314,64 +314,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamAcknowledge(RedisKey key, RedisValue groupName, RedisValue messageId, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group that received the message." - }, - { - "name": "messageId", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages acknowledged." - } - }, - { - "signature": "StreamAcknowledge(RedisKey key, RedisValue groupName, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group that received the message." - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "The IDs of the messages to acknowledge." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages acknowledged." - } - }, { "signature": "StreamAcknowledge(RedisKey key, RedisValue groupName, RedisValue messageId, CommandFlags flags = CommandFlags.None)", "params": [ @@ -432,64 +374,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamAcknowledgeAsync(RedisKey key, RedisValue groupName, RedisValue messageId, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group that received the message." - }, - { - "name": "messageId", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages acknowledged." - } - }, - { - "signature": "StreamAcknowledgeAsync(RedisKey key, RedisValue groupName, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group that received the message." - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "The IDs of the messages to acknowledge." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages acknowledged." - } - }, { "signature": "StreamAcknowledgeAsync(RedisKey key, RedisValue groupName, RedisValue messageId, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XACKDEL.json b/data/command-api-mapping/XACKDEL.json index d7d6914604..6f26a18e8d 100644 --- a/data/command-api-mapping/XACKDEL.json +++ b/data/command-api-mapping/XACKDEL.json @@ -458,74 +458,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamAcknowledgeAndDelete(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue messageId, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "" - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "" - }, - { - "name": "messageId", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "StreamTrimResult", - "description": "" - } - }, - { - "signature": "StreamAcknowledgeAndDelete(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "" - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "" - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "StreamTrimResult[]", - "description": "" - } - }, { "signature": "StreamAcknowledgeAndDelete(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue messageId, CommandFlags flags = CommandFlags.None)", "params": [ @@ -596,74 +528,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamAcknowledgeAndDeleteAsync(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue messageId, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "" - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "" - }, - { - "name": "messageId", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, - { - "signature": "StreamAcknowledgeAndDeleteAsync(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "" - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "" - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "StreamAcknowledgeAndDeleteAsync(RedisKey key, RedisValue groupName, StreamTrimMode mode, RedisValue messageId, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XAUTOCLAIM.json b/data/command-api-mapping/XAUTOCLAIM.json index 8fb1f87e56..7cda53965b 100644 --- a/data/command-api-mapping/XAUTOCLAIM.json +++ b/data/command-api-mapping/XAUTOCLAIM.json @@ -633,50 +633,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamAutoClaim(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue startAtId, int? count = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "consumerGroup", - "type": "RedisValue", - "description": "The consumer group." - }, - { - "name": "claimingConsumer", - "type": "RedisValue", - "description": "The consumer claiming the messages(s)." - }, - { - "name": "minIdleTimeInMs", - "type": "long", - "description": "The minimum idle time threshold for pending messages to be claimed." - }, - { - "name": "startAtId", - "type": "RedisValue", - "description": "The starting ID to scan for pending messages that have an idle time greater than minIdleTimeInMs." - }, - { - "name": "count", - "type": "int?", - "description": "The upper limit of the number of entries that the command attempts to claim. If null, Redis will default the value to 100." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamAutoClaimResult", - "description": "An instance of StreamAutoClaimResult." - } - }, { "signature": "StreamAutoClaim(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue startAtId, int? count = null, CommandFlags flags = CommandFlags.None)", "params": [ @@ -723,50 +679,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamAutoClaimAsync(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue startAtId, int? count = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "consumerGroup", - "type": "RedisValue", - "description": "The consumer group." - }, - { - "name": "claimingConsumer", - "type": "RedisValue", - "description": "The consumer claiming the messages(s)." - }, - { - "name": "minIdleTimeInMs", - "type": "long", - "description": "The minimum idle time threshold for pending messages to be claimed." - }, - { - "name": "startAtId", - "type": "RedisValue", - "description": "The starting ID to scan for pending messages that have an idle time greater than minIdleTimeInMs." - }, - { - "name": "count", - "type": "int?", - "description": "The upper limit of the number of entries that the command attempts to claim. If null, Redis will default the value to 100." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An instance of StreamAutoClaimResult." - } - }, { "signature": "StreamAutoClaimAsync(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue startAtId, int? count = null, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XCLAIM.json b/data/command-api-mapping/XCLAIM.json index fff956477c..125e38487b 100644 --- a/data/command-api-mapping/XCLAIM.json +++ b/data/command-api-mapping/XCLAIM.json @@ -847,45 +847,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamClaim(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "consumerGroup", - "type": "RedisValue", - "description": "The consumer group." - }, - { - "name": "claimingConsumer", - "type": "RedisValue", - "description": "The consumer claiming the given message(s)." - }, - { - "name": "minIdleTimeInMs", - "type": "long", - "description": "The minimum message idle time to allow the reassignment of the message(s)." - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "The IDs of the messages to claim for the given consumer." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamEntry[]", - "description": "The messages successfully claimed by the given consumer." - } - }, { "signature": "StreamClaim(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", "params": [ @@ -927,45 +888,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamClaimAsync(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "consumerGroup", - "type": "RedisValue", - "description": "The consumer group." - }, - { - "name": "claimingConsumer", - "type": "RedisValue", - "description": "The consumer claiming the given message(s)." - }, - { - "name": "minIdleTimeInMs", - "type": "long", - "description": "The minimum message idle time to allow the reassignment of the message(s)." - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "The IDs of the messages to claim for the given consumer." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The messages successfully claimed by the given consumer." - } - }, { "signature": "StreamClaimAsync(RedisKey key, RedisValue consumerGroup, RedisValue claimingConsumer, long minIdleTimeInMs, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XDEL.json b/data/command-api-mapping/XDEL.json index a28398bddf..df20ceba59 100644 --- a/data/command-api-mapping/XDEL.json +++ b/data/command-api-mapping/XDEL.json @@ -331,30 +331,6 @@ "description": "" } }, - { - "signature": "StreamDelete(RedisKey key, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "long", - "description": "" - } - }, { "signature": "StreamDelete(RedisKey key, RedisValue[] messageIds, StreamTrimMode mode, CommandFlags flags)", "params": [ @@ -439,30 +415,6 @@ "description": "" } }, - { - "signature": "StreamDeleteAsync(RedisKey key, RedisValue[] messageIds, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "messageIds", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "" - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "StreamDeleteAsync(RedisKey key, RedisValue[] messageIds, StreamTrimMode mode, CommandFlags flags)", "params": [ diff --git a/data/command-api-mapping/XGROUP CREATE.json b/data/command-api-mapping/XGROUP CREATE.json index 329aa74020..f5b3ed12c2 100644 --- a/data/command-api-mapping/XGROUP CREATE.json +++ b/data/command-api-mapping/XGROUP CREATE.json @@ -649,69 +649,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamCreateConsumerGroup(RedisKey key, RedisValue groupName, RedisValue? position, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the group to create." - }, - { - "name": "position", - "type": "RedisValue?", - "description": "The position to begin reading the stream. Defaults to NewMessages." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the group was created, false otherwise." - } - }, - { - "signature": "StreamCreateConsumerGroup(RedisKey key, RedisValue groupName, RedisValue? position = null, bool createStream = true, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the group to create." - }, - { - "name": "position", - "type": "RedisValue?", - "description": "The position to begin reading the stream. Defaults to NewMessages." - }, - { - "name": "createStream", - "type": "bool", - "description": "Create the stream if it does not already exist." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if the group was created, false otherwise." - } - }, { "signature": "StreamCreateConsumerGroup(RedisKey key, RedisValue groupName, RedisValue? position, CommandFlags flags)", "params": [ @@ -777,69 +714,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamCreateConsumerGroupAsync(RedisKey key, RedisValue groupName, RedisValue? position, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the group to create." - }, - { - "name": "position", - "type": "RedisValue?", - "description": "The position to begin reading the stream. Defaults to NewMessages." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the group was created, false otherwise." - } - }, - { - "signature": "StreamCreateConsumerGroupAsync(RedisKey key, RedisValue groupName, RedisValue? position = null, bool createStream = true, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the group to create." - }, - { - "name": "position", - "type": "RedisValue?", - "description": "The position to begin reading the stream. Defaults to NewMessages." - }, - { - "name": "createStream", - "type": "bool", - "description": "Create the stream if it does not already exist." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if the group was created, false otherwise." - } - }, { "signature": "StreamCreateConsumerGroupAsync(RedisKey key, RedisValue groupName, RedisValue? position, CommandFlags flags)", "params": [ diff --git a/data/command-api-mapping/XGROUP DELCONSUMER.json b/data/command-api-mapping/XGROUP DELCONSUMER.json index 44a3b1322d..facb6a5bd5 100644 --- a/data/command-api-mapping/XGROUP DELCONSUMER.json +++ b/data/command-api-mapping/XGROUP DELCONSUMER.json @@ -475,35 +475,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamDeleteConsumer(RedisKey key, RedisValue groupName, RedisValue consumerName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "consumerName", - "type": "RedisValue", - "description": "The name of the consumer." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages that were pending for the deleted consumer." - } - }, { "signature": "StreamDeleteConsumer(RedisKey key, RedisValue groupName, RedisValue consumerName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -535,35 +506,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamDeleteConsumerAsync(RedisKey key, RedisValue groupName, RedisValue consumerName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "consumerName", - "type": "RedisValue", - "description": "The name of the consumer." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages that were pending for the deleted consumer." - } - }, { "signature": "StreamDeleteConsumerAsync(RedisKey key, RedisValue groupName, RedisValue consumerName, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XGROUP DESTROY.json b/data/command-api-mapping/XGROUP DESTROY.json index 4150e42d75..f5722bbdbd 100644 --- a/data/command-api-mapping/XGROUP DESTROY.json +++ b/data/command-api-mapping/XGROUP DESTROY.json @@ -435,30 +435,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamDeleteConsumerGroup(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if deleted, false otherwise." - } - }, { "signature": "StreamDeleteConsumerGroup(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -485,30 +461,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamDeleteConsumerGroupAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if deleted, false otherwise." - } - }, { "signature": "StreamDeleteConsumerGroupAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XGROUP SETID.json b/data/command-api-mapping/XGROUP SETID.json index 7774acdc9e..3709acd549 100644 --- a/data/command-api-mapping/XGROUP SETID.json +++ b/data/command-api-mapping/XGROUP SETID.json @@ -485,35 +485,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamConsumerGroupSetPosition(RedisKey key, RedisValue groupName, RedisValue position, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "position", - "type": "RedisValue", - "description": "The position from which to read for the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "true if successful, false otherwise." - } - }, { "signature": "StreamConsumerGroupSetPosition(RedisKey key, RedisValue groupName, RedisValue position, CommandFlags flags = CommandFlags.None)", "params": [ @@ -545,35 +516,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamConsumerGroupSetPositionAsync(RedisKey key, RedisValue groupName, RedisValue position, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "position", - "type": "RedisValue", - "description": "The position from which to read for the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "true if successful, false otherwise." - } - }, { "signature": "StreamConsumerGroupSetPositionAsync(RedisKey key, RedisValue groupName, RedisValue position, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XINFO CONSUMERS.json b/data/command-api-mapping/XINFO CONSUMERS.json index a2a8036a20..6f02255850 100644 --- a/data/command-api-mapping/XINFO CONSUMERS.json +++ b/data/command-api-mapping/XINFO CONSUMERS.json @@ -360,30 +360,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamConsumerInfo(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The consumer group name." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamConsumerInfo[]", - "description": "An instance of StreamConsumerInfo for each of the consumer group's consumers." - } - }, { "signature": "StreamConsumerInfo(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -410,30 +386,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamConsumerInfoAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The consumer group name." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An instance of StreamConsumerInfo for each of the consumer group's consumers." - } - }, { "signature": "StreamConsumerInfoAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XINFO GROUPS.json b/data/command-api-mapping/XINFO GROUPS.json index 9ed88b7575..6d37e8212b 100644 --- a/data/command-api-mapping/XINFO GROUPS.json +++ b/data/command-api-mapping/XINFO GROUPS.json @@ -305,25 +305,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamGroupInfo(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamGroupInfo[]", - "description": "An instance of StreamGroupInfo for each of the stream's groups." - } - }, { "signature": "StreamGroupInfo(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -345,25 +326,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamGroupInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An instance of StreamGroupInfo for each of the stream's groups." - } - }, { "signature": "StreamGroupInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XINFO STREAM.json b/data/command-api-mapping/XINFO STREAM.json index 2e723f1cfe..688d235e6b 100644 --- a/data/command-api-mapping/XINFO STREAM.json +++ b/data/command-api-mapping/XINFO STREAM.json @@ -367,25 +367,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamInfo(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamInfo", - "description": "A StreamInfo instance with information about the stream." - } - }, { "signature": "StreamInfo(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -407,25 +388,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A StreamInfo instance with information about the stream." - } - }, { "signature": "StreamInfoAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XLEN.json b/data/command-api-mapping/XLEN.json index 7a45eaf611..bdfbcb0dd0 100644 --- a/data/command-api-mapping/XLEN.json +++ b/data/command-api-mapping/XLEN.json @@ -199,25 +199,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamLength(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of entries inside the given stream." - } - }, { "signature": "StreamLength(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -239,25 +220,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of entries inside the given stream." - } - }, { "signature": "StreamLengthAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XPENDING.json b/data/command-api-mapping/XPENDING.json index 84371b116c..04702721bf 100644 --- a/data/command-api-mapping/XPENDING.json +++ b/data/command-api-mapping/XPENDING.json @@ -865,30 +865,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamPending(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamPendingInfo", - "description": "An instance of StreamPendingInfo. StreamPendingInfo contains the number of pending messages. The highest and lowest ID of the pending messages, and the consumers with their pending message count." - } - }, { "signature": "StreamPending(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ @@ -915,30 +891,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamPendingAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "groupName", - "type": "RedisValue", - "description": "The name of the consumer group." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "An instance of StreamPendingInfo. StreamPendingInfo contains the number of pending messages. The highest and lowest ID of the pending messages, and the consumers with their pending message count." - } - }, { "signature": "StreamPendingAsync(RedisKey key, RedisValue groupName, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XRANGE.json b/data/command-api-mapping/XRANGE.json index b6f23515de..7aba45153c 100644 --- a/data/command-api-mapping/XRANGE.json +++ b/data/command-api-mapping/XRANGE.json @@ -588,45 +588,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamRange(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "minId", - "type": "RedisValue?", - "description": "The minimum ID from which to read the stream. The method will default to reading from the beginning of the stream." - }, - { - "name": "maxId", - "type": "RedisValue?", - "description": "The maximum ID to read to within the stream. The method will default to reading to the end of the stream." - }, - { - "name": "count", - "type": "int?", - "description": "The maximum number of messages to return." - }, - { - "name": "messageOrder", - "type": "Order", - "description": "The order of the messages. Ascending will execute XRANGE and Descending will execute XREVRANGE." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamEntry[]", - "description": "Returns an instance of StreamEntry for each message returned." - } - }, { "signature": "StreamRange(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -668,45 +629,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamRangeAsync(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "minId", - "type": "RedisValue?", - "description": "The minimum ID from which to read the stream. The method will default to reading from the beginning of the stream." - }, - { - "name": "maxId", - "type": "RedisValue?", - "description": "The maximum ID to read to within the stream. The method will default to reading to the end of the stream." - }, - { - "name": "count", - "type": "int?", - "description": "The maximum number of messages to return." - }, - { - "name": "messageOrder", - "type": "Order", - "description": "The order of the messages. Ascending will execute XRANGE and Descending will execute XREVRANGE." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Returns an instance of StreamEntry for each message returned." - } - }, { "signature": "StreamRangeAsync(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XREAD.json b/data/command-api-mapping/XREAD.json index 2d817215c4..8995d7b18e 100644 --- a/data/command-api-mapping/XREAD.json +++ b/data/command-api-mapping/XREAD.json @@ -507,59 +507,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamRead(RedisKey key, RedisValue position, int? count = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "position", - "type": "RedisValue", - "description": "" - }, - { - "name": "count", - "type": "int?", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamEntry[]", - "description": "A value of RedisStream for each stream." - } - }, - { - "signature": "StreamRead(StreamPosition[] streamPositions, int? countPerStream = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "streamPositions", - "type": "StreamPosition[]", - "description": "Array of streams and the positions from which to begin reading for each stream." - }, - { - "name": "countPerStream", - "type": "int?", - "description": "The maximum number of messages to return from each stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisStream[]", - "description": "A value of RedisStream for each stream." - } - }, { "signature": "StreamRead(RedisKey key, RedisValue position, int? count = null, CommandFlags flags = CommandFlags.None)", "params": [ @@ -615,59 +562,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamReadAsync(RedisKey key, RedisValue position, int? count = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "position", - "type": "RedisValue", - "description": "" - }, - { - "name": "count", - "type": "int?", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A value of RedisStream for each stream." - } - }, - { - "signature": "StreamReadAsync(StreamPosition[] streamPositions, int? countPerStream = null, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "streamPositions", - "type": "StreamPosition[]", - "description": "Array of streams and the positions from which to begin reading for each stream." - }, - { - "name": "countPerStream", - "type": "int?", - "description": "The maximum number of messages to return from each stream." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "A value of RedisStream for each stream." - } - }, { "signature": "StreamReadAsync(RedisKey key, RedisValue position, int? count = null, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XREVRANGE.json b/data/command-api-mapping/XREVRANGE.json index 19e6481604..1f046887c1 100644 --- a/data/command-api-mapping/XREVRANGE.json +++ b/data/command-api-mapping/XREVRANGE.json @@ -583,45 +583,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamRange(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "minId", - "type": "RedisValue?", - "description": "The minimum ID from which to read the stream. The method will default to reading from the beginning of the stream." - }, - { - "name": "maxId", - "type": "RedisValue?", - "description": "The maximum ID to read to within the stream. The method will default to reading to the end of the stream." - }, - { - "name": "count", - "type": "int?", - "description": "The maximum number of messages to return." - }, - { - "name": "messageOrder", - "type": "Order", - "description": "The order of the messages. Ascending will execute XRANGE and Descending will execute XREVRANGE." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "StreamEntry[]", - "description": "Returns an instance of StreamEntry for each message returned." - } - }, { "signature": "StreamRange(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -663,45 +624,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamRangeAsync(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "minId", - "type": "RedisValue?", - "description": "The minimum ID from which to read the stream. The method will default to reading from the beginning of the stream." - }, - { - "name": "maxId", - "type": "RedisValue?", - "description": "The maximum ID to read to within the stream. The method will default to reading to the end of the stream." - }, - { - "name": "count", - "type": "int?", - "description": "The maximum number of messages to return." - }, - { - "name": "messageOrder", - "type": "Order", - "description": "The order of the messages. Ascending will execute XRANGE and Descending will execute XREVRANGE." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "Returns an instance of StreamEntry for each message returned." - } - }, { "signature": "StreamRangeAsync(RedisKey key, RedisValue? minId = null, RedisValue? maxId = null, int? count = null, Order messageOrder = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/XTRIM.json b/data/command-api-mapping/XTRIM.json index 8c7f5bcd29..bb68681682 100644 --- a/data/command-api-mapping/XTRIM.json +++ b/data/command-api-mapping/XTRIM.json @@ -776,74 +776,6 @@ } ], "nredisstack_sync": [ - { - "signature": "StreamTrim(RedisKey key, int maxLength, bool useApproximateMaxLength, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "maxLength", - "type": "int", - "description": "The maximum length of the stream." - }, - { - "name": "useApproximateMaxLength", - "type": "bool", - "description": "If true, the \"~\" argument is used to allow the stream to exceed max length by a small number. This improves performance when removing messages." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages removed from the stream." - } - }, - { - "signature": "StreamTrim(RedisKey key, long maxLength, bool useApproximateMaxLength = false, long? limit = null, StreamTrimMode mode = StreamTrimMode.KeepReferences, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum length of the stream." - }, - { - "name": "useApproximateMaxLength", - "type": "bool", - "description": "If true, the \"~\" argument is used to allow the stream to exceed max length by a small number. This improves performance when removing messages." - }, - { - "name": "limit", - "type": "long?", - "description": "Specifies the maximal count of entries that will be evicted." - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "Determines how stream trimming should be performed." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of messages removed from the stream." - } - }, { "signature": "StreamTrim(RedisKey key, int maxLength, bool useApproximateMaxLength, CommandFlags flags)", "params": [ @@ -914,74 +846,6 @@ } ], "nredisstack_async": [ - { - "signature": "StreamTrimAsync(RedisKey key, int maxLength, bool useApproximateMaxLength, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "maxLength", - "type": "int", - "description": "The maximum length of the stream." - }, - { - "name": "useApproximateMaxLength", - "type": "bool", - "description": "If true, the \"~\" argument is used to allow the stream to exceed max length by a small number. This improves performance when removing messages." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages removed from the stream." - } - }, - { - "signature": "StreamTrimAsync(RedisKey key, long maxLength, bool useApproximateMaxLength = false, long? limit = null, StreamTrimMode mode = StreamTrimMode.KeepReferences, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the stream." - }, - { - "name": "maxLength", - "type": "long", - "description": "The maximum length of the stream." - }, - { - "name": "useApproximateMaxLength", - "type": "bool", - "description": "If true, the \"~\" argument is used to allow the stream to exceed max length by a small number. This improves performance when removing messages." - }, - { - "name": "limit", - "type": "long?", - "description": "Specifies the maximal count of entries that will be evicted." - }, - { - "name": "mode", - "type": "StreamTrimMode", - "description": "Determines how stream trimming should be performed." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of messages removed from the stream." - } - }, { "signature": "StreamTrimAsync(RedisKey key, int maxLength, bool useApproximateMaxLength, CommandFlags flags)", "params": [ diff --git a/data/command-api-mapping/ZCARD.json b/data/command-api-mapping/ZCARD.json index b4939509c6..5afa5584bc 100644 --- a/data/command-api-mapping/ZCARD.json +++ b/data/command-api-mapping/ZCARD.json @@ -185,40 +185,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetLength(RedisKey key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "double", - "description": "The min score to filter by (defaults to negative infinity)." - }, - { - "name": "max", - "type": "double", - "description": "The max score to filter by (defaults to positive infinity)." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Whether to exclude min and max from the range check (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The cardinality (number of elements) of the sorted set, or 0 if key does not exist." - } - }, { "signature": "SortedSetLength(RedisKey key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -255,40 +221,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetLengthAsync(RedisKey key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "double", - "description": "The min score to filter by (defaults to negative infinity)." - }, - { - "name": "max", - "type": "double", - "description": "The max score to filter by (defaults to positive infinity)." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Whether to exclude min and max from the range check (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The cardinality (number of elements) of the sorted set, or 0 if key does not exist." - } - }, { "signature": "SortedSetLengthAsync(RedisKey key, double min = double.NegativeInfinity, double max = double.PositiveInfinity, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZDIFFSTORE.json b/data/command-api-mapping/ZDIFFSTORE.json index 62028cc011..1a7c1dc9c3 100644 --- a/data/command-api-mapping/ZDIFFSTORE.json +++ b/data/command-api-mapping/ZDIFFSTORE.json @@ -318,84 +318,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -476,84 +398,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZINCRBY.json b/data/command-api-mapping/ZINCRBY.json index 2874976a55..d0da03c247 100644 --- a/data/command-api-mapping/ZINCRBY.json +++ b/data/command-api-mapping/ZINCRBY.json @@ -343,64 +343,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetIncrement(RedisKey key, RedisValue member, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to increment." - }, - { - "name": "value", - "type": "double", - "description": "The amount to increment by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double", - "description": "The new score of member." - } - }, - { - "signature": "SortedSetIncrement(key, member, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "Any", - "description": "The member to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The new score of member." - } - }, { "signature": "SortedSetIncrement(RedisKey key, RedisValue member, double value, CommandFlags flags = CommandFlags.None)", "params": [ @@ -432,64 +374,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetIncrementAsync(RedisKey key, RedisValue member, double value, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to increment." - }, - { - "name": "value", - "type": "double", - "description": "The amount to increment by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The new score of member." - } - }, - { - "signature": "SortedSetIncrement(key, member, -value, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "Any", - "description": "The member to increment." - }, - { - "name": "-value", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The new score of member." - } - }, { "signature": "SortedSetIncrementAsync(RedisKey key, RedisValue member, double value, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZINTER.json b/data/command-api-mapping/ZINTER.json index 7de5a1d09a..63d4b8ebba 100644 --- a/data/command-api-mapping/ZINTER.json +++ b/data/command-api-mapping/ZINTER.json @@ -312,40 +312,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombine(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to Sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "The resulting sorted set." - } - }, { "signature": "SortedSetCombine(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -382,40 +348,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAsync(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to Sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The resulting sorted set." - } - }, { "signature": "SortedSetCombineAsync(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZINTERCARD.json b/data/command-api-mapping/ZINTERCARD.json index 5d30f94e00..b389baffc2 100644 --- a/data/command-api-mapping/ZINTERCARD.json +++ b/data/command-api-mapping/ZINTERCARD.json @@ -369,30 +369,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetIntersectionLength(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "limit", - "type": "long", - "description": "If the intersection cardinality reaches limit partway through the computation, the algorithm will exit and yield limit as the cardinality (defaults to 0 meaning unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting intersection." - } - }, { "signature": "SortedSetIntersectionLength(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", "params": [ @@ -419,30 +395,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetIntersectionLengthAsync(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "limit", - "type": "long", - "description": "If the intersection cardinality reaches limit partway through the computation, the algorithm will exit and yield limit as the cardinality (defaults to 0 meaning unlimited)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting intersection." - } - }, { "signature": "SortedSetIntersectionLengthAsync(RedisKey[] keys, long limit = 0, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZINTERSTORE.json b/data/command-api-mapping/ZINTERSTORE.json index f1b4ef6118..b60de40b57 100644 --- a/data/command-api-mapping/ZINTERSTORE.json +++ b/data/command-api-mapping/ZINTERSTORE.json @@ -643,84 +643,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -801,84 +723,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZLEXCOUNT.json b/data/command-api-mapping/ZLEXCOUNT.json index 149bf271a4..02fae4344b 100644 --- a/data/command-api-mapping/ZLEXCOUNT.json +++ b/data/command-api-mapping/ZLEXCOUNT.json @@ -352,40 +352,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetLengthByValue(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "RedisValue", - "description": "The min value to filter by." - }, - { - "name": "max", - "type": "RedisValue", - "description": "The max value to filter by." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Whether to exclude min and max from the range check (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the specified score range." - } - }, { "signature": "SortedSetLengthByValue(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -422,40 +388,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetLengthByValueAsync(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "RedisValue", - "description": "The min value to filter by." - }, - { - "name": "max", - "type": "RedisValue", - "description": "The max value to filter by." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Whether to exclude min and max from the range check (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the specified score range." - } - }, { "signature": "SortedSetLengthByValueAsync(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZMSCORE.json b/data/command-api-mapping/ZMSCORE.json index 870c276fee..5b1ae68665 100644 --- a/data/command-api-mapping/ZMSCORE.json +++ b/data/command-api-mapping/ZMSCORE.json @@ -302,30 +302,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetScores(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double?[]", - "description": "array. If a member does not exist in the set, null is returned." - } - }, { "signature": "SortedSetScores(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", "params": [ @@ -352,30 +328,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetScoresAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "array. If a member does not exist in the set, null is returned." - } - }, { "signature": "SortedSetScoresAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZPOPMAX.json b/data/command-api-mapping/ZPOPMAX.json index f9b9caffb8..d8f7a2e25a 100644 --- a/data/command-api-mapping/ZPOPMAX.json +++ b/data/command-api-mapping/ZPOPMAX.json @@ -405,59 +405,6 @@ "type": "SortedSetPopResult", "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." } - }, - { - "signature": "SortedSetPop(RedisKey key, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "SortedSetEntry?", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } - }, - { - "signature": "SortedSetPop(RedisKey key, long count, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of records to pop out of the sorted set." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "SortedSetEntry[]", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } } ], "nredisstack_async": [ @@ -542,59 +489,6 @@ "type": "Task", "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." } - }, - { - "signature": "SortedSetPopAsync(RedisKey key, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "Task", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } - }, - { - "signature": "SortedSetPopAsync(RedisKey key, long count, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of records to pop out of the sorted set." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "Task", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } } ], "php": [ diff --git a/data/command-api-mapping/ZPOPMIN.json b/data/command-api-mapping/ZPOPMIN.json index 745bebaddb..023f69d0c4 100644 --- a/data/command-api-mapping/ZPOPMIN.json +++ b/data/command-api-mapping/ZPOPMIN.json @@ -405,59 +405,6 @@ "type": "SortedSetPopResult", "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." } - }, - { - "signature": "SortedSetPop(RedisKey key, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "SortedSetEntry?", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } - }, - { - "signature": "SortedSetPop(RedisKey key, long count, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of records to pop out of the sorted set." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "SortedSetEntry[]", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } } ], "nredisstack_async": [ @@ -542,59 +489,6 @@ "type": "Task", "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." } - }, - { - "signature": "SortedSetPopAsync(RedisKey key, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "Task", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } - }, - { - "signature": "SortedSetPopAsync(RedisKey key, long count, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "" - }, - { - "name": "count", - "type": "long", - "description": "The maximum number of records to pop out of the sorted set." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by when popping items out of the set." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for the operation." - } - ], - "returns": { - "type": "Task", - "description": "A contiguous collection of sorted set entries with the key they were popped from, or Null if no non-empty sorted sets are found." - } } ], "php": [ diff --git a/data/command-api-mapping/ZRANDMEMBER.json b/data/command-api-mapping/ZRANDMEMBER.json index 34b617a9ca..ca6d6c5989 100644 --- a/data/command-api-mapping/ZRANDMEMBER.json +++ b/data/command-api-mapping/ZRANDMEMBER.json @@ -363,25 +363,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRandomMember(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "does not exist. " - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue", - "description": "" - } - }, { "signature": "SortedSetRandomMember(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ @@ -403,25 +384,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRandomMemberAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "does not exist. " - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "" - } - }, { "signature": "SortedSetRandomMemberAsync(RedisKey key, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZRANGE.json b/data/command-api-mapping/ZRANGE.json index 1673d09ed0..ebd2ef4da1 100644 --- a/data/command-api-mapping/ZRANGE.json +++ b/data/command-api-mapping/ZRANGE.json @@ -895,74 +895,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRangeByRank(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of elements in the specified range." - } - }, - { - "signature": "SortedSetRangeByRankWithScores(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "SortedSetEntry[]", - "description": "List of elements in the specified range." - } - }, { "signature": "SortedSetRangeByRank(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -1082,74 +1014,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRangeByRankAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of elements in the specified range." - } - }, - { - "signature": "SortedSetRangeByRankWithScoresAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of elements in the specified range." - } - }, { "signature": "SortedSetRangeByRankAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZRANK.json b/data/command-api-mapping/ZRANK.json index 1a9007a5c2..be937b65f3 100644 --- a/data/command-api-mapping/ZRANK.json +++ b/data/command-api-mapping/ZRANK.json @@ -250,35 +250,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRank(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get the rank of." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long?", - "description": "If member exists in the sorted set, the rank of member. If member does not exist in the sorted set or key does not exist, null." - } - }, { "signature": "SortedSetRank(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -310,35 +281,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRankAsync(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get the rank of." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "If member exists in the sorted set, the rank of member. If member does not exist in the sorted set or key does not exist, null." - } - }, { "signature": "SortedSetRankAsync(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZREM.json b/data/command-api-mapping/ZREM.json index 64062ad822..cfa15e9d82 100644 --- a/data/command-api-mapping/ZREM.json +++ b/data/command-api-mapping/ZREM.json @@ -302,78 +302,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRemove(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "bool", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, - { - "signature": "SortedSetRemove(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "The members to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, - { - "signature": "SortedSetRemove(key, member, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, { "signature": "SortedSetRemove(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ @@ -424,78 +352,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRemoveAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "" - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, - { - "signature": "SortedSetRemoveAsync(RedisKey key, RedisValue[] members, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "members", - "type": "RedisValue[]", - "description": "The members to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, - { - "signature": "SortedSetRemove(key, member, flags)", - "params": [ - { - "name": "key", - "type": "Any", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "Any", - "description": "" - }, - { - "name": "flags", - "type": "Any", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "return", - "description": "The number of members removed from the sorted set, not including non existing members." - } - }, { "signature": "SortedSetRemoveAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZREMRANGEBYLEX.json b/data/command-api-mapping/ZREMRANGEBYLEX.json index cc37ffdf53..9603cef03b 100644 --- a/data/command-api-mapping/ZREMRANGEBYLEX.json +++ b/data/command-api-mapping/ZREMRANGEBYLEX.json @@ -352,40 +352,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRemoveRangeByValue(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "RedisValue", - "description": "The minimum value to remove." - }, - { - "name": "max", - "type": "RedisValue", - "description": "The maximum value to remove." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Which of min and max to exclude (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByValue(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -422,40 +388,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRemoveRangeByValueAsync(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "min", - "type": "RedisValue", - "description": "The minimum value to remove." - }, - { - "name": "max", - "type": "RedisValue", - "description": "The maximum value to remove." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Which of min and max to exclude (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByValueAsync(RedisKey key, RedisValue min, RedisValue max, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZREMRANGEBYRANK.json b/data/command-api-mapping/ZREMRANGEBYRANK.json index 83a794e57a..920bd3c8f7 100644 --- a/data/command-api-mapping/ZREMRANGEBYRANK.json +++ b/data/command-api-mapping/ZREMRANGEBYRANK.json @@ -295,35 +295,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRemoveRangeByRank(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The minimum rank to remove." - }, - { - "name": "stop", - "type": "long", - "description": "The maximum rank to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByRank(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", "params": [ @@ -355,35 +326,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRemoveRangeByRankAsync(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The minimum rank to remove." - }, - { - "name": "stop", - "type": "long", - "description": "The maximum rank to remove." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByRankAsync(RedisKey key, long start, long stop, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZREMRANGEBYSCORE.json b/data/command-api-mapping/ZREMRANGEBYSCORE.json index 47fed675a4..2249be2204 100644 --- a/data/command-api-mapping/ZREMRANGEBYSCORE.json +++ b/data/command-api-mapping/ZREMRANGEBYSCORE.json @@ -472,40 +472,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRemoveRangeByScore(RedisKey key, double start, double stop, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "double", - "description": "The minimum score to remove." - }, - { - "name": "stop", - "type": "double", - "description": "The maximum score to remove." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Which of start and stop to exclude (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByScore(RedisKey key, double start, double stop, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ @@ -542,40 +508,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRemoveRangeByScoreAsync(RedisKey key, double start, double stop, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "double", - "description": "The minimum score to remove." - }, - { - "name": "stop", - "type": "double", - "description": "The maximum score to remove." - }, - { - "name": "exclude", - "type": "Exclude", - "description": "Which of start and stop to exclude (defaults to both inclusive)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements removed." - } - }, { "signature": "SortedSetRemoveRangeByScoreAsync(RedisKey key, double start, double stop, Exclude exclude = Exclude.None, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZREVRANGE.json b/data/command-api-mapping/ZREVRANGE.json index 15c1edd931..021dc3c40b 100644 --- a/data/command-api-mapping/ZREVRANGE.json +++ b/data/command-api-mapping/ZREVRANGE.json @@ -424,40 +424,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRangeByRank(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "List of elements in the specified range." - } - }, { "signature": "SortedSetRangeByRank(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -494,40 +460,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRangeByRankAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "start", - "type": "long", - "description": "The start index to get." - }, - { - "name": "stop", - "type": "long", - "description": "The stop index to get." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "List of elements in the specified range." - } - }, { "signature": "SortedSetRangeByRankAsync(RedisKey key, long start = 0, long stop = -1, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZREVRANK.json b/data/command-api-mapping/ZREVRANK.json index 6e6f91ec76..cd5e6c2429 100644 --- a/data/command-api-mapping/ZREVRANK.json +++ b/data/command-api-mapping/ZREVRANK.json @@ -250,35 +250,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetRank(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get the rank of." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long?", - "description": "If member exists in the sorted set, the rank of member. If member does not exist in the sorted set or key does not exist, null." - } - }, { "signature": "SortedSetRank(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ @@ -310,35 +281,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetRankAsync(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get the rank of." - }, - { - "name": "order", - "type": "Order", - "description": "The order to sort by (defaults to ascending)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "If member exists in the sorted set, the rank of member. If member does not exist in the sorted set or key does not exist, null." - } - }, { "signature": "SortedSetRankAsync(RedisKey key, RedisValue member, Order order = Order.Ascending, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZSCAN.json b/data/command-api-mapping/ZSCAN.json index 70b20814c7..e3caefc47e 100644 --- a/data/command-api-mapping/ZSCAN.json +++ b/data/command-api-mapping/ZSCAN.json @@ -691,35 +691,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetScan(RedisKey key, RedisValue pattern, int pageSize, CommandFlags flags)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "pattern", - "type": "RedisValue", - "description": "The pattern to match." - }, - { - "name": "pageSize", - "type": "int", - "description": "The page size to iterate by." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "IEnumerable", - "description": "Yields all matching elements of the sorted set." - } - }, { "signature": "SortedSetScanAsync(RedisKey key, RedisValue pattern = default, int pageSize = RedisBase.CursorUtils.DefaultLibraryPageSize, long cursor = RedisBase.CursorUtils.Origin, int pageOffset = 0, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZSCORE.json b/data/command-api-mapping/ZSCORE.json index 5ba861752e..1cc5954988 100644 --- a/data/command-api-mapping/ZSCORE.json +++ b/data/command-api-mapping/ZSCORE.json @@ -240,30 +240,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetScore(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get a score for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "double?", - "description": "The score of the member." - } - }, { "signature": "SortedSetScore(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ @@ -290,30 +266,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetScoreAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "key", - "type": "RedisKey", - "description": "The key of the sorted set." - }, - { - "name": "member", - "type": "RedisValue", - "description": "The member to get a score for." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The score of the member." - } - }, { "signature": "SortedSetScoreAsync(RedisKey key, RedisValue member, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZUNION.json b/data/command-api-mapping/ZUNION.json index 9a3293db23..4ab25d1ed6 100644 --- a/data/command-api-mapping/ZUNION.json +++ b/data/command-api-mapping/ZUNION.json @@ -317,40 +317,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombine(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to Sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "RedisValue[]", - "description": "The resulting sorted set." - } - }, { "signature": "SortedSetCombine(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -387,40 +353,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAsync(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to Sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The resulting sorted set." - } - }, { "signature": "SortedSetCombineAsync(SetOperation operation, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ diff --git a/data/command-api-mapping/ZUNIONSTORE.json b/data/command-api-mapping/ZUNIONSTORE.json index bf6ee87f58..26f55426e7 100644 --- a/data/command-api-mapping/ZUNIONSTORE.json +++ b/data/command-api-mapping/ZUNIONSTORE.json @@ -643,84 +643,6 @@ } ], "nredisstack_sync": [ - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "long", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStore(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [ @@ -801,84 +723,6 @@ } ], "nredisstack_async": [ - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "first", - "type": "RedisKey", - "description": "" - }, - { - "name": "second", - "type": "RedisKey", - "description": "" - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, - { - "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey[] keys, double[]? weights = null, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", - "params": [ - { - "name": "operation", - "type": "SetOperation", - "description": "The operation to perform." - }, - { - "name": "destination", - "type": "RedisKey", - "description": "The key to store the results in." - }, - { - "name": "keys", - "type": "RedisKey[]", - "description": "The keys of the sorted sets." - }, - { - "name": "weights", - "type": "double[]?", - "description": "The optional weights per set that correspond to keys." - }, - { - "name": "aggregate", - "type": "Aggregate", - "description": "The aggregation method (defaults to sum)." - }, - { - "name": "flags", - "type": "CommandFlags", - "description": "The flags to use for this operation." - } - ], - "returns": { - "type": "Task", - "description": "The number of elements in the resulting sorted set at destination." - } - }, { "signature": "SortedSetCombineAndStoreAsync(SetOperation operation, RedisKey destination, RedisKey first, RedisKey second, Aggregate aggregate = Aggregate.Sum, CommandFlags flags = CommandFlags.None)", "params": [