couchbase-index-manager
Version:
Manage Couchbase indexes during the CI/CD process
19 lines (18 loc) • 533 B
TypeScript
import { IndexManager } from './index-manager';
import { ValidateOptions } from './options';
/**
* Executes a synchronization, loading definitions from disk
*/
export declare class Validator {
private paths;
private options;
constructor(path: string | ArrayLike<string>, options?: ValidateOptions);
/**
* Executes the synchronization
*/
execute(manager?: IndexManager): Promise<void>;
/**
* Uses EXPLAIN to validate syntax of the CREATE INDEX statement.
*/
private validateSyntax;
}