-first commit
This commit is contained in:
26
node_modules/@redis/client/dist/lib/commands/HEXPIRETIME.js
generated
vendored
Normal file
26
node_modules/@redis/client/dist/lib/commands/HEXPIRETIME.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.HASH_EXPIRATION_TIME = void 0;
|
||||
exports.HASH_EXPIRATION_TIME = {
|
||||
/** The field does not exist */
|
||||
FIELD_NOT_EXISTS: -2,
|
||||
/** The field exists but has no associated expire */
|
||||
NO_EXPIRATION: -1,
|
||||
};
|
||||
exports.default = {
|
||||
IS_READ_ONLY: true,
|
||||
/**
|
||||
* Returns the absolute Unix timestamp (since January 1, 1970) at which the given hash fields will expire
|
||||
* @param parser - The Redis command parser
|
||||
* @param key - Key of the hash
|
||||
* @param fields - Fields to check expiration time
|
||||
*/
|
||||
parseCommand(parser, key, fields) {
|
||||
parser.push('HEXPIRETIME');
|
||||
parser.pushKey(key);
|
||||
parser.push('FIELDS');
|
||||
parser.pushVariadicWithLength(fields);
|
||||
},
|
||||
transformReply: undefined
|
||||
};
|
||||
//# sourceMappingURL=HEXPIRETIME.js.map
|
||||
Reference in New Issue
Block a user