Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QueryFormat Enum to match SqlUtil / SqlDS #94

Merged
merged 6 commits into from
Apr 30, 2024
Merged

Conversation

shelldandy
Copy link
Contributor

@shelldandy shelldandy commented Apr 29, 2024

Make the QueryFormat enum match the expected enum values from sqlds and sqlutil instead of the current strings.

https://github.com/grafana/grafana-plugin-sdk-go/blob/main/data/sqlutil/query.go#L18-L29

Makes it easier to use SqlQueryEditor on any sqlds based plugin

@shelldandy shelldandy self-assigned this Apr 29, 2024
@shelldandy shelldandy requested a review from a team April 30, 2024 04:07
@shelldandy shelldandy changed the title Query format enum QueryFormat Enum to match SQLUtil Apr 30, 2024
@shelldandy shelldandy changed the title QueryFormat Enum to match SQLUtil QueryFormat Enum to match SqlUtil / SqlDS Apr 30, 2024
@shelldandy shelldandy merged commit 2344028 into main Apr 30, 2024
1 check passed
@shelldandy shelldandy deleted the query-format-enum branch April 30, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants