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

Support for saved queries #64

Merged
merged 1 commit into from
Feb 5, 2024
Merged

Support for saved queries #64

merged 1 commit into from
Feb 5, 2024

Conversation

rgalanakis
Copy link
Contributor

@rgalanakis rgalanakis commented Feb 5, 2024

See webhookdb/docs#5 for docs and webhookdb/webhookdb#862 for API changes.

@rgalanakis rgalanakis merged commit f5f1cd3 into main Feb 5, 2024
1 check passed
@rgalanakis rgalanakis deleted the saved-queries branch February 5, 2024 16:38
rgalanakis added a commit to webhookdb/webhookdb that referenced this pull request Feb 5, 2024
Fixes #162 

Adds a new `saved_queries` table, model, and endpoints. These can be used to expose specific queries over public or authed HTTP, for use in public dashboards and websites, where embedding a connection string for direct connection or using 'connection string auth' is unsuitable.

See https://github.com/webhookdb/docs/blob/591f51b4c0ec5ebe3cf1172a71013a6dad21547c/docs/integrating/saved-queries.md for full documentation.

See webhookdb/docs#5 for docs.

See webhookdb/webhookdb-cli#64 for CLI changes.

Also includes some webterm changes:

- Inline input (the one used for prompts) submits automatically when multiple lines are pasted. This was required for pasting SQL to work.
- The input is full width at the beginning (before, it would expand to the widest log line).
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.

1 participant