(parser: CommandParser, object: HSETObject)
| 59 | } |
| 60 | |
| 61 | function pushObject(parser: CommandParser, object: HSETObject): void { |
| 62 | for (const key of Object.keys(object)) { |
| 63 | parser.push( |
| 64 | convertValue(key), |
| 65 | convertValue(object[key]) |
| 66 | ); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | function convertValue(value: HashTypes): RedisArgument { |
| 71 | return typeof value === 'number' ? |
no test coverage detected