Skip to content

Commit

Permalink
Alphabetically reorder body properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Anaethelion committed Nov 22, 2023
1 parent 3b1aeba commit da79378
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions specification/esql/query/QueryRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,24 +42,24 @@ export interface Request extends RequestBase {
* Use the `query` element to start a query. Use `time_zone` to specify an execution time zone and `columnar` to format the answer.
*/
body: {
/**
* The ES|QL query API accepts an ES|QL query string in the query parameter, runs it, and returns the results.
*/
query: string
/**
* By default, ES|QL returns results as rows. For example, FROM returns each individual document as one row. For the json, yaml, cbor and smile formats, ES|QL can return the results in a columnar fashion where one row represents all the values of a certain column in the results.
*/
columnar?: boolean
time_zone?: TimeZone
/**
* Specify a Query DSL query in the filter parameter to filter the set of documents that an ES|QL query runs on.
*/
filter?: QueryContainer
locale?: string
/**
* To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
*/
params?: Array<string>
pragmas?: Pragmas
locale?: string
/**
* The ES|QL query API accepts an ES|QL query string in the query parameter, runs it, and returns the results.
*/
query: string
time_zone?: TimeZone
}
}

0 comments on commit da79378

Please sign in to comment.