riot icon indicating copy to clipboard operation
riot copied to clipboard

Transposing a table to import data into Redis Hash

Open viastakhov opened this issue 8 months ago • 0 comments

This is the feature request.

At the moment the db-import command imports data from a relational database into Redis Hash following way:

$ riot dbimport ... hset --keyspace actor --key id
id:    123                   HSET:  actor:123
first: Tom        =>          first:  Tom
last:  Hanks                  last:   Hank

Feature request: transpose a table in order to get Redis Hash like this:

id:    123                   HSET:  actor:123
first: Tom        =>          Tom: Hank
last:  Hanks                

viastakhov avatar Feb 27 '25 14:02 viastakhov