Changes between Version 25 and Version 26 of Docs/Prog/Manual/ApplicationLibraries/lib825db


Ignore:
Timestamp:
10/23/25 09:17:52 (3 weeks ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825db

    v25 v26  
    113113Be sure to replace SQLITE_ROW with DBSQL_ROW.
    114114
     115The 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
    115117When app finishs existing apps:
    116118{{{#!c++
     
    119121Replace with:
    120122{{{#!c++
    121 appDB->Close();
     123appDB->CloseDatabase();
    122124delete appDB;
    123125appDB = nullptr;