Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
创建连接对象。
a_sqlany_connection * sqlany_new_connection( void )
在建立数据库连接之前必须创建 API 连接对象。可以从连接对象中检索错误。一个连接中每次只能处理一个请求。此外,一次不允许多个线程访问同一连接对象。当多个线程同时尝试访问一个连接对象时,会发生未定义行为或失败。
连接对象。