SQL Queries for admins in Discourse
Go to file
Isaac Janzen 85c88c5d80
DEV: Better handling of no results (#205)
When there were no query results it would throw an error due to `this.resultCount` always passing as it is in the format of

```
"INTEGER - results returned"
```

so we need to grab the first index of the string and check if the integer is great than 0
2022-12-20 16:55:11 -06:00
.github/workflows DEV: Update CI workflows (#192) 2022-11-07 12:32:48 -06:00
app FIX: better handling of edge cases (#187) 2022-11-18 07:09:50 +11:00
assets DEV: Better handling of no results (#205) 2022-12-20 16:55:11 -06:00
config Update translations (#193) 2022-11-29 15:36:46 +01:00
db/migrate FIX: Store query groups in a temp table when fixing ids. (#68) 2020-09-28 12:23:53 -03:00
lib DEV: Bookmarkable reminder refinement (#183) 2022-07-18 13:40:24 +10:00
spec FIX: better handling of edge cases (#187) 2022-11-18 07:09:50 +11:00
test/javascripts DEV: Better handling of no results (#205) 2022-12-20 16:55:11 -06:00
.discourse-compatibility DEV: Replace bootbox alert dialogs (#190) 2022-10-18 14:13:00 -04:00
.eslintrc DEV: apply coding standards (#66) 2020-09-04 13:23:11 +02:00
.gitignore DEV: Update linting setup and fix issues (#179) 2022-06-17 15:01:34 +02:00
.prettierrc DEV: Minor clean-up (#119) 2021-07-02 10:31:16 +02:00
.rubocop.yml DEV: Move to rubocop-discourse. 2020-05-06 18:11:07 +02:00
.template-lintrc.js DEV: apply coding standards (#66) 2020-09-04 13:23:11 +02:00
Gemfile DEV: Add RubyGems as source 2020-09-25 11:46:42 -05:00
Gemfile.lock DEV: Bump rubocop-discourse (#188) 2022-10-03 22:20:04 +02:00
LICENSE Initial commit as a clone of discourse-tagging 2015-06-25 09:25:15 -07:00
README.md DEV: Update README.md (#164) 2022-02-21 20:59:32 +01:00
package.json DEV: Update linting setup and fix issues (#179) 2022-06-17 15:01:34 +02:00
plugin.rb FIX: better handling of edge cases (#187) 2022-11-18 07:09:50 +11:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:00:47 +02:00
yarn.lock DEV: Update linting setup and fix issues (#179) 2022-06-17 15:01:34 +02:00

README.md

Data Explorer Plugin

This plugin allows admins to run SQL queries against the live Discourse database, including parameterized queries and formatting for several common column types.

For more information, please see: https://meta.discourse.org/t/data-explorer-plugin/32566