@dotcms/client
Version:
Official JavaScript library for interacting with DotCMS REST APIs.
27 lines (26 loc) • 743 B
TypeScript
import { Equals } from './Equals';
/**
* 'NotOperand' Is a Typescript class that provides the ability to use the NOT operand in the lucene query string.
*
* @export
* @class NotOperand
*/
export declare class NotOperand {
#private;
private query;
constructor(query: string);
/**
* This method appends to the query a term that should be included in the search.
*
* @example
* ```typescript
* const notOperand = new NotOperand("+myField");
* notOperand.equals("myValue");
* ```
*
* @param {string} term - The term that should be included in the search.
* @return {*} {Equals} - An instance of Equals.
* @memberof NotOperand
*/
equals(term: string): Equals;
}