Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SAConnection::NativeAPI

saAPI *NativeAPI() const;

Returns a set of functions of native DBMS client API. 

Return value

A pointer to a base class saAPI from which a family of DBMS implementation-specific classes are derived.

Remarks

Use NativeAPI method if you want to call client specific API functions which are not directly supported by the Library. NativeAPI method returns a pointer to the set of native API functions available for an DBMS client you currently use. To use the database API directly you have to downcast this saAPI pointer to the appropriate type and use its implementation-specific members.

See Server Specific Guide section to know what type cast you have to make and what additional header file you have to include to work with specific DBMS client API. Note that for some DBMS using appropriate type casting depends on an API version (that generally mean that you have to explicitly check client version before casting, see ClientVersion method).

To get more information about DBMS API functions see this DBMS specific documentation. 

Please be aware of the complications associated with making direct API calls, as the internal logic of the SQLAPI++ Library is not used. Besides, making direct API calls reduces an application's portability.

See also

SAConnection::ClientVersion, SAConnection::NativeHandles, SACommand::NativeHandles

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.