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

16 lines
629 B
TypeScript

import { CommandParser } from '../client/parser';
import { SimpleStringReply } from '../RESP/types';
declare const _default: {
readonly NOT_KEYED_COMMAND: true;
readonly IS_READ_ONLY: false;
/**
* Swaps the data of two Redis databases.
* @param parser - The Redis command parser.
* @param index1 - First database index.
* @param index2 - Second database index.
*/
readonly parseCommand: (this: void, parser: CommandParser, index1: number, index2: number) => void;
readonly transformReply: () => SimpleStringReply<'OK'>;
};
export default _default;
//# sourceMappingURL=SWAPDB.d.ts.map