comet.CSQL¶
- class comet.CSQL¶
This section describes all functions for the comet.CSQL class.
Methods¶
- CSQL.getServer()¶
Get the server name of this connection.
- Returns
The server name
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSQL.getUser()¶
Get the user name this connection was established with.
- Returns
The user name
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSQL.getDBName()¶
Get the database name this connection was established with.
- Returns
The database name
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSQL.getClient()¶
Get the client name this connection was established with.
- Returns
The client name
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSQL.getCharset()¶
Get the character set this connection was established with.
- Returns
The character set
0: System charset
1: UTF-8
2: Unicode 16 Bit
3: Unicode 32 Bit
- Return type
- Raises
CometError – On internal error
- Available
- CScript
- CSQL.createQuery()¶
Creates a new transaction query object for this connection.
- Returns
A new query object
- Return type
- Raises
CometError – On internal error
- Available
- CScript