jeffbourdier/dumprows

load query templates from server

Closed this issue · 1 comments

Currently, query templates can be loaded only by the user from files on the client machine. Implement a command-line option to load a query template file (stored on the server) when DUMPROWS runs, so that the prompt (web page) is delivered to the client with those query templates "preloaded."

The idea here is to associate a set of query templates with one or more DUMPROWS instances (scripts) on a given server. For example, if a server has one script that connects to an Oracle database and two that connect to PostgreSQL, the template file oracle.json could be used with the Oracle script, and postgresql.json could be used with the two PostgreSQL scripts.

Resolved with commit 8515d10.