SSIS Components for Redis

Build 23.0.8839


Passes a command to the Redis server for direct execution. Use standard redis-cli syntax.

Running Redis Commands Directly

You can use this procedure to run a command directly that isn't exposed by the usual CRUD operations on tables. For example, the FLUSHDB command removes all keys from the current database:

EXECUTE RunCommand @CommandLine = 'FLUSHDB'

You can also run commands which require parameters by separating them with spaces, the same as in redis-cli. Double-quotes are also available if you need to embed spaces into a parameter value:

EXECUTE RunCommand @CommandLine = 'INFO "CPU"'

The 本製品 will process the results of the command and return them in the appropriate format. For cases like FLUSHDB or INFO where the result is a simple value or a flat array, each element will be returned as a separate row.

'# CPU'

More complex results, like the values returned from the COMMAND command, will be separated by row and then converted to JSON for final output.



Name Type Required Description
CommandLine String False The command to pass directly to the Redis server for execution.
KeyType String False The format for the Redis server output. 'AUTO' returns the keys in list format (nested lists will each be one compound result). 'HASH' returns the keys as a hash (each group is a row, each property gets its own column).

使用できる値は次のとおりです。AUTO, HASH


Result Set Columns

Name Type Description
* String Output will vary for each collection.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839