Interface QueryStringBuilder
interface QueryStringBuilder { and(): this; or(): this; exact(): this; noExact(): this; exclude(): this; noExclude(): this; terms(term: string,
...terms: string[]): this; named(name: string,
term: string,
...terms: string[]): this; label(label: string,
...labels: string[]): this; categories(category: string,
...categories: string[]): this; labels(label: string,
...labels: string[]): this; author(author: string,
...authors: string[]): this; title(title: string,
...titles: string[]): this; build(): MaybeString; } Methods
exact
- exact(): this
Returns this
noExact
- noExact(): this
Returns this
exclude
- exclude(): this
Returns this
noExclude
- noExclude(): this
Returns this
terms
- terms(term, ...terms): this
Parameters
- term: string
Rest
...terms: string[]
Returns this
named
- named(name, term, ...terms): this
Parameters
- name: string
- term: string
Rest
...terms: string[]
Returns this
label
- label(label, ...labels): this
Parameters
- label: string
Rest
...labels: string[]
Returns this
categories
- categories(category, ...categories): this
Parameters
- category: string
Rest
...categories: string[]
Returns this
labels
- labels(label, ...labels): this
Parameters
- label: string
Rest
...labels: string[]
Returns this
author
- author(author, ...authors): this
Parameters
- author: string
Rest
...authors: string[]
Returns this
title
- title(title, ...titles): this
Parameters
- title: string
Rest
...titles: string[]
Returns this
build
- build(): MaybeString
Returns MaybeString
Changes the operator to append search terms to
AND
.