We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Or... how about if the on_success_message option could define a SQL query to be executed to generate that message? Maybe on_success_message_sql.
on_success_message
on_success_message_sql
The text was updated successfully, but these errors were encountered:
Goal here is to customize the message displayed after a query has succeeded. e.g.
databases: mydatabase: queries: add_name: sql: INSERT INTO names (name) VALUES (:name) write: true on_success_message_sql: 'select ''Name inserted: '' || :name' on_success_redirect: /mydatabase/names
Sorry, something went wrong.
a3593c9
Here's what it looks like when it works:
And here's what you get if there's a SQL error in the on_success_message_sql query itself:
Merge pull request from GHSA-7ch3-7pp7-7cpq
01e0558
* API explorer requires view-instance permission * Check database/table permissions on /-/api page * Release notes for 1.0a4 Refs #2119, #2133, #2138, #2140 Refs GHSA-7ch3-7pp7-7cpq
No branches or pull requests
The text was updated successfully, but these errors were encountered: