Changes between Initial Version and Version 1 of Ticket #10723


Ignore:
Timestamp:
Nov 20, 2017, 12:56:49 AM (5 years ago)
Author:
Ryan J Ollos
Comment:

This appears to have pretty limited usefulness for WikiTableMacro.

WikiReportMacro supports dynamic variables and in that case the feature is more useful because the SQL from a report is being reused in each invocation of the macro.

Some dialects of SQL support setting variables.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10723

    • Property Status changed from new to closed
    • Property Resolution changed from to wontfix
  • Ticket #10723 – Description

    initial v1  
    44
    55
    6 {{{
    7 #!diff
     6{{{#!diff
    87    def render_macro(self, req, name, content):
    98+        c = content.split("|;|")
     
    2019i.e. you can do something like this
    2120{{{
    22 #!sql
    23 {{{
    24 #!SQLTable
     21{{{#!SQLTable
    2522    SELECT "a", count($id) as 'Number of Tickets'
    2623    FROM ticket