Added a param to ::Open() to allow the programmer to specify whether opening the table should check if table exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3110,7 +3110,7 @@ wxDbTable instance that would modify (insert/delete/update) the table's data.
|
||||
|
||||
\membersection{wxDbTable::Open}\label{wxdbtableopen}
|
||||
|
||||
\func{bool }{Open}{\param{bool }{checkPrivileges=FALSE}}
|
||||
\func{bool }{Open}{\param{bool }{checkPrivileges=FALSE}, \param{bool }{checkTableExists=TRUE}}
|
||||
|
||||
Every wxDbTable instance must be opened before it can be used. This function
|
||||
checks for the existence of the requested table, binds columns, creates required
|
||||
@@ -3124,6 +3124,9 @@ row in the datasource.
|
||||
whether the current connected user has at least SELECT privileges to access the
|
||||
table to which they are trying to open. Default is FALSE.}
|
||||
|
||||
\docparam{checkTableExists}{Indicates whether the Open() function should check
|
||||
whether the table exists in the database or not before opening it. Default is TRUE.}
|
||||
|
||||
\wxheading{Remarks}
|
||||
|
||||
If the function returns a FALSE value due to the table not existing, a log
|
||||
|
Reference in New Issue
Block a user