GATE
C/C++ Framework
Loading...
Searching...
No Matches
gate_data_connection_t Interface Reference

Database connection interface. More...

#include <adapter.h>

Inheritance diagram for gate_data_connection_t:
gate_object_t

Public Member Functions

gate_result_t create_statement (gate_string_t const *sql, gate_data_statement_t **ptr_stmt)
 Creates a new statement interface object from a SQL statement.
Public Member Functions inherited from gate_object_t
char const * get_interface_name ()
 Returns on object's interface path name.
void release ()
 Decrease object's reference counter, releases the object when count reaches zero.
int retain ()
 Increase object's reference counter.

Detailed Description

Database connection interface.

Member Function Documentation

◆ create_statement()

gate_result_t create_statement ( gate_string_t const * sql,
gate_data_statement_t ** ptr_stmt )

Creates a new statement interface object from a SQL statement.

Parameters
[out]ptr_countPointer to interface-pointer to be initialize with new object instance pointer
Returns
GATE_RESULT_* result code

The documentation for this interface was generated from the following file: