Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs


Usage

Examples

SAConnection

Construction / Destruction

SAConnection Constructs a SAConnection object
~SAConnection Destructs a SAConnection object

Methods

setClient Sets an DBMS client to the current SAConnection object
Client Gets the current DBMS client associated with the SAConnection object
ClientVersion Gets the DBMS client API  version number.
ServerVersion Gets the DBMS server version number.
ServerVersionString Gets the DBMS server version string.

isConnected Returns the connection state.
Connect Connects to the database.
Disconnect Disconnects the connection.
isAlive Checks the database server status.
Destroy
Destroys a broken connection.
Reset
Clears all DBMS related handles and sturctures but doesn't destroy them.

setIsolationLevel Sets the transaction isolation level. 
IsolationLevel Gets the transaction isolation level.
setAutoCommit Sets connection to be committed automatically. 
AutoCommit Gets whether the connection is committed automatically.
Commit Commits transactions. 
Rollback Roll's back to last commit 

setOption Sets a string value of a specific connection or command option
Option Gets a string value of a specific connection or command option

NativeAPI Gets native DBMS client API. 
NativeHandles Gets native DBMS client connection related handle(s)