-first commit
This commit is contained in:
27
node_modules/@redis/client/dist/lib/commands/MIGRATE.d.ts
generated
vendored
Normal file
27
node_modules/@redis/client/dist/lib/commands/MIGRATE.d.ts
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
import { CommandParser } from '../client/parser';
|
||||
import { RedisArgument, SimpleStringReply } from '../RESP/types';
|
||||
import { AuthOptions } from './AUTH';
|
||||
export interface MigrateOptions {
|
||||
COPY?: true;
|
||||
REPLACE?: true;
|
||||
AUTH?: AuthOptions;
|
||||
}
|
||||
declare const _default: {
|
||||
readonly IS_READ_ONLY: false;
|
||||
/**
|
||||
* Constructs the MIGRATE command
|
||||
*
|
||||
* @param parser - The command parser
|
||||
* @param host - Target Redis instance host
|
||||
* @param port - Target Redis instance port
|
||||
* @param key - Key or keys to migrate
|
||||
* @param destinationDb - Target database index
|
||||
* @param timeout - Timeout in milliseconds
|
||||
* @param options - Optional parameters including COPY, REPLACE, and AUTH
|
||||
* @see https://redis.io/commands/migrate/
|
||||
*/
|
||||
readonly parseCommand: (this: void, parser: CommandParser, host: RedisArgument, port: number, key: RedisArgument | Array<RedisArgument>, destinationDb: number, timeout: number, options?: MigrateOptions) => void;
|
||||
readonly transformReply: () => SimpleStringReply<'OK'>;
|
||||
};
|
||||
export default _default;
|
||||
//# sourceMappingURL=MIGRATE.d.ts.map
|
||||
Reference in New Issue
Block a user