sqlany_new_connection function

Creates a connection object.

Syntax
a_sqlany_connection * sqlany_new_connection( void )
Remarks

You must create an API connection object before establishing a database connection. Errors can be retrieved from the connection object. Only one request can be processed on a connection at a time. In addition, not more than one thread is allowed to access a connection object at a time. Undefined behavior or a failure occurs when multiple threads attempt to access a connection object simultaneously.

Returns

A connection object.

See also