Skip to content

Commit

Permalink
feat(RAIN-74824): support queryLanguage when creating query
Browse files Browse the repository at this point in the history
  • Loading branch information
qdfuxiao committed Nov 6, 2023
1 parent f44bf6f commit 21a27db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions api/lql.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ import (
)

type NewQuery struct {
QueryID string `json:"queryId" yaml:"queryId"`
QueryText string `json:"queryText" yaml:"queryText"`
QueryID string `json:"queryId" yaml:"queryId"`
QueryLanguage string `json:"queryLanguage" yaml:"queryLanguage"`
QueryText string `json:"queryText" yaml:"queryText"`
}

func ParseNewQuery(s string) (NewQuery, error) {
Expand Down

0 comments on commit 21a27db

Please sign in to comment.