-first commit
This commit is contained in:
20
node_modules/@redis/client/dist/lib/commands/SETEX.js
generated
vendored
Normal file
20
node_modules/@redis/client/dist/lib/commands/SETEX.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = {
|
||||
/**
|
||||
* Constructs the SETEX command
|
||||
*
|
||||
* @param parser - The command parser
|
||||
* @param key - The key to set
|
||||
* @param seconds - The expiration time in seconds
|
||||
* @param value - The value to set
|
||||
* @see https://redis.io/commands/setex/
|
||||
*/
|
||||
parseCommand(parser, key, seconds, value) {
|
||||
parser.push('SETEX');
|
||||
parser.pushKey(key);
|
||||
parser.push(seconds.toString(), value);
|
||||
},
|
||||
transformReply: undefined
|
||||
};
|
||||
//# sourceMappingURL=SETEX.js.map
|
||||
Reference in New Issue
Block a user