You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
WIP
This commit is contained in:
@@ -21,7 +21,7 @@ export default {
|
||||
transformArguments(...[key, value, fieldValue]: SingleFieldArguments | MultipleFieldsArguments) {
|
||||
const args: Array<RedisArgument> = ['HSET', key];
|
||||
|
||||
if (typeof value === 'string' || typeof value === 'number' || Buffer.isBuffer(value)) {
|
||||
if (typeof value === 'string' || typeof value === 'number' || value instanceof Buffer) {
|
||||
args.push(
|
||||
convertValue(value),
|
||||
convertValue(fieldValue!)
|
||||
|
Reference in New Issue
Block a user