Macros for parameterisable queries

Registered by Bjorn Melinder

Create macros, which are pre-built command chains with possible variables which need to be entered. Imagine a macro foo with contents

SELECT the_date, COUNT(*) FROM some_stats WHERE YEAR(the_date) = ${year} | chart hbar | browser

Running the macro will ask for all parameters, e.g.

myterm> mrun foo
year: 12345 (entered by user)

(query output)

Could be used to create small libraries of common statistical queries, different commands to monitor health of server etc.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.