66    if ((h = 
gROOT->GetPluginManager()->FindHandler(
"TSQLServer", db))) {
   134       Error(method,
"Code: %d  Msg: %s", code, (msg ? msg : 
"No message"));
   143    return Exec(
"START TRANSACTION");
   152    return Exec(
"COMMIT");
   161    return Exec(
"ROLLBACK");
   185    if (res==0) 
return 0;
   189    while ((row = res->
Next())!=0) {
   190       const char* tablename = row->
GetField(0);
   210    if ((tablename==0) || (strlen(tablename)==0)) 
return kFALSE;
   213    if (lst==0) 
return kFALSE;
   224    while ((obj = iter()) != 0)
   238    if ((tablename==0) || (*tablename==0)) 
return 0;
   241    if (res==0) 
return 0;
   245    while ((row = res->
Next())!=0) {
   246       const char* columnname = row->
GetField(0);
   247       if (lst==0) lst = 
new TList;
   262    if (fmt==0) fmt = 
"%e";
 
virtual Bool_t Exec(const char *sql)
Execute sql query. 
 
static TSQLServer * Connect(const char *db, const char *uid, const char *pw)
The db should be of the form: <dbms>://<host>[:<port>][/<database>], e.g. 
 
Collectable string class. 
 
virtual TSQLResult * Query(const char *sql)=0
 
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content. 
 
virtual Bool_t StartTransaction()
submit "START TRANSACTION" query to database return kTRUE, if successful 
 
Int_t LoadPlugin()
Load the plugin library for this handler. 
 
static const char * fgFloatFmt
 
static const char * GetFloatFormat()
return current printf format for float/double members, default "%e" 
 
virtual Bool_t IsError() const
 
virtual Int_t GetErrorCode() const
returns error code of last operation if res==0, no error Each specific implementation of TSQLServer p...
 
void ClearError()
reset error fields 
 
virtual Bool_t Rollback()
submit "ROLLBACK" query to database return kTRUE, if successful 
 
virtual TSQLResult * GetColumns(const char *dbname, const char *table, const char *wild=0)=0
 
virtual const char * GetErrorMsg() const
returns error message of last operation if no errors, return 0 Each specific implementation of TSQLSe...
 
Long_t ExecPlugin(int nargs, const T &... params)
 
static void SetFloatFormat(const char *fmt="%e")
set printf format for float/double members, default "%e" 
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message. 
 
virtual Bool_t Commit()
submit "COMMIT" query to database return kTRUE, if successful 
 
virtual const char * GetField(Int_t field)=0
 
virtual TSQLResult * GetTables(const char *dbname, const char *wild=0)=0
 
virtual TSQLTableInfo * GetTableInfo(const char *tablename)
Producec TSQLTableInfo object, which contain info about table itself and each table column Object mus...
 
void SetError(Int_t code, const char *msg, const char *method=0)
set new values for error fields if method is specified, displays error message 
 
Mother of all ROOT objects. 
 
virtual TList * GetTablesList(const char *wild=0)
Return list of user tables Parameter wild specifies wildcard for table names. 
 
virtual void Add(TObject *obj)
 
virtual Bool_t HasTable(const char *tablename)
Tests if table of that name exists in database Return kTRUE, if table exists. 
 
virtual const char * GetName() const
Returns name of object. 
 
virtual TSQLRow * Next()=0
 
const char * Data() const