en: js: errors: explorer: no_semicolons: "Remove the semicolons from the query." dirty: "You must save the query before running." explorer: or: "or" admins_only: "The data explorer is only available to admins." allow_groups: "Allow groups to access this query" title: "Data Explorer" create: "Create New" create_placeholder: "Query name..." description_placeholder: "Enter a description here" import: label: "Import" modal: "Import A Query" unparseable_json: "Unparseable JSON file." wrong_json: "Wrong JSON file. A JSON file should contain a 'query' object, which should at least have an 'sql' property." help: label: "Help" modal_title: "Data Explorer Help" auto_resolution: "
When your query returns an entity id, Data Explorer may automatically substitute it with the entity name and other useful information in query results. Automatic resolution is available for user_id, group_id, topic_id, category_id and badge_id. To try this out run this query:
SELECT user_id\nFROM posts
"
custom_params: "To create custom parameters for your queries, put this at the top of your query and follow the format:
-- [params]\n-- int :num = 1\n\nSELECT :num
Note: the first line with [params] is required, along with two dashes preceding it and every custom parameter you want to declare.
" default_values: "You can declare parameters with or without default values. Default values will show up in a text field below the query editor, which you can edit to your needs. Parameters declared without default values will still generate a text field, but will be empty and highlighted red.
-- [params]\n-- text :username = my_username\n-- int :age
"
data_types: "Here are common data types you can use:
For more information on data types, visit this website.
" schema: title: "Database Schema" filter: "Search..." sensitive: "The contents of this column may contain particularly sensitive or private information. Please exercise caution when using the contents of this column." types: bool: yes: "Yes" no: "No" null_: "Null" export: "Export" save: "Save Changes" saverun: "Save Changes and Run" run: "Run" undo: "Discard Changes" edit: "Edit" delete: "Delete" recover: "Undelete Query" download_json: "JSON" download_csv: "CSV" show_table: "Table" show_graph: "Graph" others_dirty: "A query has unsaved changes that will be lost if you navigate away." run_time: "Query completed in %{value} ms." result_count: one: "%{count} result." other: "%{count} results." max_result_count: one: "Showing top %{count} result." other: "Showing top %{count} results." query_name: "Query" query_groups: "Groups" link: "Link for" report_name: "Report" query_description: "Description" query_time: "Last run" query_user: "Created by" column: "Column %{number}" explain_label: "Include query plan?" save_params: "Set Defaults" reset_params: "Reset" search_placeholder: "Search..." no_search_results: "Sorry, we couldn't find any results matching your text." group: reports: "Reports" admin: api: scopes: descriptions: discourse_data_explorer: run_queries: "Run Data Explorer queries. Restrict the API key to a set of queries by specifying queries IDs." discourse_automation: scriptables: recurring_data_explorer_result_pm: fields: recipients: label: Send to User, Group or Email query_id: label: Data Explorer Query query_params: label: Data Explorer Query parameters