Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/VEMB.js
2025-11-11 12:36:06 +07:00

21 lines
733 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const generic_transformers_1 = require("./generic-transformers");
exports.default = {
IS_READ_ONLY: true,
/**
* Retrieve the approximate vector associated with a vector set element
*
* @param parser - The command parser
* @param key - The key of the vector set
* @param element - The name of the element to retrieve the vector for
* @see https://redis.io/commands/vemb/
*/
parseCommand(parser, key, element) {
parser.push('VEMB');
parser.pushKey(key);
parser.push(element);
},
transformReply: generic_transformers_1.transformDoubleArrayReply
};
//# sourceMappingURL=VEMB.js.map