Changes between Version 19 and Version 20 of SqlAlchemyQueryMacro
- Timestamp:
- Oct 1, 2016, 9:41:46 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SqlAlchemyQueryMacro
v19 v20 6 6 7 7 This 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 9 This macro can be used in one of two ways: 10 {{{ 11 {{{ 12 #!SQL 13 SELECT * FROM foo 14 }}} 15 }}} 16 17 or: 18 19 {{{ 20 [[SQL(SELECT * FROM foo)]] 21 }}} 8 22 9 23 A previous version of this module is known as SqlQueryMacro. … … 94 108 Restart tracd after making these changes. 95 109 96 == Example97 98 This macro can be used in one of two ways:99 {{{100 {{{101 #!SQL102 SELECT * FROM foo103 }}}104 }}}105 106 or:107 108 {{{109 [[SQL(SELECT * FROM foo)]]110 }}}111 112 110 == Recent Changes 113 111