Module ts3client :: Class Config :: Class _config
[hide private]
[frames] | no frames]

Class _config

source code

object --+
         |
        Config._config

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__del__(self) source code
QSqlQuery
query(self, sql)
Executes a query on the database.
source code
str
lastError(self)
Returns the last error occured in the QSqlDatabase as string.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

query(self, sql)

source code 

Executes a query on the database.

Parameters:
  • sql (str) - the query to be executed
Returns: QSqlQuery
the QSqlQuery object

lastError(self)

source code 

Returns the last error occured in the QSqlDatabase as string.

Returns: str
the error