| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Execute an SQL query |
| 4 | |
| 5 | == Description |
| 6 | |
| 7 | Execute an SQL Query against a configured database displaying a formatted table of results. |
| 8 | |
| 9 | == !Bugs/Feature Requests |
| 10 | |
| 11 | Existing bugs and feature requests for SqlAlchemyQueryMacro are |
| 12 | [report:9?COMPONENT=SqlAlchemyQueryMacro here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=SqlAlchemyQueryMacro new ticket]. |
| 16 | |
| 17 | == Download |
| 18 | |
| 19 | Download the zipped source from [export:sqlalchemyquerymacro here]. |
| 20 | |
| 21 | == Source |
| 22 | |
| 23 | You can check out SqlAlchemyQueryMacro from [http://trac-hacks.org/svn/sqlalchemyquerymacro here] using Subversion, or [source:sqlalchemyquerymacro browse the source] with Trac. |
| 24 | |
| 25 | == Installation |
| 26 | |
| 27 | General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. |
| 28 | |
| 29 | his macro requires the python-sqlalchemy library and makes use of its db and table modules. Please install python-sqlalchemy first. |
| 30 | |
| 31 | To install the macro: |
| 32 | {{{ |
| 33 | tar -zxvf SqlAlchemyQuery.tar.gz |
| 34 | cd SqlAlchemyQuery |
| 35 | ./install_sqlalchemyquery.bash |
| 36 | |
| 37 | }}} |
| 38 | |
| 39 | To enable: |
| 40 | {{{ |
| 41 | [components] |
| 42 | sqlalchemyquery.* = enabled |
| 43 | }}} |
| 44 | |
| 45 | |
| 46 | == Recent Changes |
| 47 | |
| 48 | [[ChangeLog(sqlalchemyquerymacro, 3)]] |
| 49 | |
| 50 | == !Author/Contributors |
| 51 | |
| 52 | **Author:** [wiki:fvdberg] [[BR]] |
| 53 | **Maintainer:** [[Maintainer]] [[BR]] |
| 54 | **Contributors:** |