comet.CSQL¶
- class comet.CSQL¶
CSQL represents an active SQL data connection.
Methods¶
- CSQL.getServer()¶
Get the server name of this connection.
- Returns:
The server name
- Return type:
- Raises:
CometError – On internal error
- Available:
InDesign® comet_pdf® Illustrator®
- CScript:
- CSQL.getUser()¶
Get the user name this connection was established with.
- Returns:
The user name
- Return type:
- Raises:
CometError – On internal error
- Available:
InDesign® comet_pdf® Illustrator®
- CScript:
- CSQL.getDBName()¶
Get the database name this connection was established with.
- Returns:
The database name
- Return type:
- Raises:
CometError – On internal error
- Available:
InDesign® comet_pdf® Illustrator®
- CScript:
- CSQL.getClient()¶
Get the client name this connection was established with.
- Returns:
The client name
- Return type:
- Raises:
CometError – On internal error
- Available:
InDesign® comet_pdf® Illustrator®
- 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:
InDesign® comet_pdf® Illustrator®
- 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:
InDesign® comet_pdf® Illustrator®
- CScript: