Changes between Version 19 and Version 20 of SqlAlchemyQueryMacro


Ignore:
Timestamp:
Oct 1, 2016, 9:41:46 AM (8 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • SqlAlchemyQueryMacro

    v19 v20  
    66
    77This plugin allows you to execute an SQL Query against a configured database displaying a formatted table of results from within Trac. The macro uses [http://www.sqlalchemy.org/ SQLAlchemy], the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
     8
     9This macro can be used in one of two ways:
     10{{{
     11{{{
     12#!SQL
     13SELECT * FROM foo
     14}}}
     15}}}
     16
     17or:
     18
     19{{{
     20[[SQL(SELECT * FROM foo)]]
     21}}}
    822
    923A previous version of this module is known as SqlQueryMacro.
     
    94108Restart tracd after making these changes.
    95109
    96 == Example
    97 
    98 This macro can be used in one of two ways:
    99 {{{
    100 {{{
    101 #!SQL
    102 SELECT * FROM foo
    103 }}}
    104 }}}
    105 
    106 or:
    107 
    108 {{{
    109 [[SQL(SELECT * FROM foo)]]
    110 }}}
    111 
    112110== Recent Changes
    113111