Changes between Version 26 and Version 27 of Docs/Prog/Manual/ApplicationLibraries/lib825db
- Timestamp:
- 10/23/25 09:20:34 (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825db
v26 v27 115 115 The CDBStatement destructor will automatically cleanup the results of the query. However, there may be some cases where it is desired to cleanup the query results before the destructor runs. In this case the //CDBStatement::Close()// function may be called. There are also //CDBStatement::Query(const char* sql)// and //CDBStatement::Query(const std::string& sql)// functions that can be used to re-query using the same CDBStatement instance. There is also a //CDBStatement// constructor without the SQL parameter. In this case a //Query// function call is necessary to get results from the statement. 116 116 117 When a pp finishs existing apps:117 When an app finishes existing apps should close the database: 118 118 {{{#!c++ 119 119 db.close; … … 134 134 // Format SQL for SQLite 135 135 } 136 } 137 138 136 }}}
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)