-first commit
This commit is contained in:
24
node_modules/@redis/client/dist/lib/commands/HGETEX.d.ts
generated
vendored
Normal file
24
node_modules/@redis/client/dist/lib/commands/HGETEX.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { CommandParser } from '../client/parser';
|
||||
import { RedisVariadicArgument } from './generic-transformers';
|
||||
import { ArrayReply, BlobStringReply, NullReply, RedisArgument } from '../RESP/types';
|
||||
export interface HGetExOptions {
|
||||
expiration?: {
|
||||
type: 'EX' | 'PX' | 'EXAT' | 'PXAT';
|
||||
value: number;
|
||||
} | {
|
||||
type: 'PERSIST';
|
||||
} | 'PERSIST';
|
||||
}
|
||||
declare const _default: {
|
||||
/**
|
||||
* Gets the values of the specified fields in a hash and optionally sets their expiration
|
||||
* @param parser - The Redis command parser
|
||||
* @param key - Key of the hash
|
||||
* @param fields - Fields to get values from
|
||||
* @param options - Options for setting expiration
|
||||
*/
|
||||
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, fields: RedisVariadicArgument, options?: HGetExOptions) => void;
|
||||
readonly transformReply: () => ArrayReply<BlobStringReply | NullReply>;
|
||||
};
|
||||
export default _default;
|
||||
//# sourceMappingURL=HGETEX.d.ts.map
|
||||
Reference in New Issue
Block a user