Skip to content

Commit

Permalink
[WIP] Support max_age=0
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Jun 9, 2024
1 parent bc3dddf commit 23ca65f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions query.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ func (client *Client) GetQueryResults(ctx context.Context, id int, ext string, o
type ExecQueryJSONInput struct {
Parameters map[string]any `json:"parameters,omitempty"`
MaxAge int `json:"max_age,omitempty"`
NoCache bool `json:"-"`
}

func (client *Client) ExecQueryJSON(ctx context.Context, id int, input *ExecQueryJSONInput, out io.Writer) (*JobResponse, error) {
Expand Down

0 comments on commit 23ca65f

Please sign in to comment.