Changes between Version 1 and Version 2 of SqlQueryMacro
- Timestamp:
- Feb 22, 2008, 12:09:25 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SqlQueryMacro
v1 v2 24 24 == Example == 25 25 26 T o install:26 This macro can be used in one of two ways: 27 27 {{{ 28 easy_install TracNewsFlashMacro 28 {{{ 29 #!SQL 30 SELECT * FROM foo 31 }}} 32 }}} 33 34 or 35 36 {{{ 37 [[SQL(SELECT * FROm foo)]] 38 }}} 39 40 == Install == 41 42 This macro requires the [http://trac.shortcircuit.net.au/ pymills] library and makes use of it's '''db''' and '''table''' modules. 43 Please install pymills first. 44 {{{ 45 easy_install pymills 46 }}} 47 48 To install the macro: 49 {{{ 50 easy_install TracSqlQueryMacro 29 51 }}} 30 52 … … 33 55 #!ini 34 56 [components] 35 newsflash.* = enabled57 sqlquery.* = enabled 36 58 }}} 37 59