UNPKG

couchbase-index-manager

Version:
21 lines (20 loc) 760 B
import { IndexDefinition } from '../definition'; import { CouchbaseIndex, IndexManager, WithClause } from '../index-manager'; import { IndexMutation } from './index-mutation'; import { Logger } from '../options'; /** * Represents an index mutation which updates an existing index */ export declare class UpdateIndexMutation extends IndexMutation { private existingIndex; private withClause; constructor(definition: IndexDefinition, name: string, withClause: WithClause, existingIndex: CouchbaseIndex); print(logger: Logger): void; /** @inheritDoc */ execute(manager: IndexManager, logger: Logger): Promise<void>; /** * Formats a list of keys for human readable output */ private formatKeys; isSafe(): boolean; }