/[H9]/trunk/tntnet/dynamic/template.ecpp
ViewVC logotype

Annotation of /trunk/tntnet/dynamic/template.ecpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 195 - (hide annotations) (download)
Sat Dec 8 16:47:03 2007 UTC (16 years, 5 months ago) by torben
File size: 277 byte(s)
Use persistant connections / connection pooling for faster db access

1 torben 78 <%pre>
2     #include <tntdb/connect.h>
3     #include <tntdb/connection.h>
4     #include <tntdb/result.h>
5     #include <tntdb/row.h>
6     </%pre>
7    
8     <%config>
9     dburl;
10     </%config>
11    
12     <&header title="--Template--">
13     </&header>
14     <{
15 torben 195 tntdb::Connection conn = tntdb::connectCached(dburl);
16 torben 78
17     }>
18    
19     <&footer>
20     </&footer>

  ViewVC Help
Powered by ViewVC 1.1.20