Changes between Version 1 and Version 2 of SqlQueryMacro


Ignore:
Timestamp:
Feb 22, 2008, 12:09:25 AM (16 years ago)
Author:
James Mills
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SqlQueryMacro

    v1 v2  
    2424== Example ==
    2525
    26 To install:
     26This macro can be used in one of two ways:
    2727{{{
    28 easy_install TracNewsFlashMacro
     28{{{
     29#!SQL
     30SELECT * FROM foo
     31}}}
     32}}}
     33
     34or
     35
     36{{{
     37[[SQL(SELECT * FROm foo)]]
     38}}}
     39
     40== Install ==
     41
     42This macro requires the [http://trac.shortcircuit.net.au/ pymills] library and makes use of it's '''db''' and '''table''' modules.
     43Please install pymills first.
     44{{{
     45easy_install pymills
     46}}}
     47
     48To install the macro:
     49{{{
     50easy_install TracSqlQueryMacro
    2951}}}
    3052
     
    3355#!ini
    3456[components]
    35 newsflash.* = enabled
     57sqlquery.* = enabled
    3658}}}
    3759