api | api | |||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
/** | /** | |||
* OpenDBX C++ API | * OpenDBX C++ API | |||
* | * | |||
* The OpenDBX C++ API is an object-oriented database abstraction layer bas ed | * The OpenDBX C++ API is an object-oriented database abstraction layer bas ed | |||
* on the procedural C API of the OpenDBX library. The C++ API provides obj ects | * on the procedural C API of the OpenDBX library. The C++ API provides obj ects | |||
* encapsulating connections, statements, result sets and large objects. | * encapsulating connections, statements, result sets and large objects. | |||
* | * | |||
* Using the API starts with establishing a connection to the database serv er by | * Using the API starts with establishing a connection to the database serv er by | |||
* creating an instance of the Conn class with the parameters backend, host and | * creating an instance of the Conn class with the parameters backend, host and | |||
* port. Conn::getCapability() tests the implemented capabilites of the und erlying | * port. Conn::getCapability() tests the implemented capabilites of the und erlying | |||
* database library while Conn::getOption() and Conn::setOption() cas be us ed to | * database library while Conn::getOption() and Conn::setOption() has be us ed to | |||
* test for and change a number of options. The options must be changed bef ore | * test for and change a number of options. The options must be changed bef ore | |||
* authenticating the connection with the Conn::bind() method to have any e ffect. | * authenticating the connection with the Conn::bind() method to have any e ffect. | |||
* It's also possible to rebind a connection using different credentials af ter | * It's also possible to rebind a connection using different credentials af ter | |||
* Conn::unbind() had been called. Additionally, the Conn class is able to | * Conn::unbind() had been called. Additionally, the Conn class is able to | |||
* escape potentially dangerous character sequences with Conn::escape() if e.g. | * escape potentially dangerous character sequences with Conn::escape() if e.g. | |||
* user input should be part of a statement as value. | * user input should be part of a statement as value. | |||
* | * | |||
* The Conn::create() method creates and initializes a new statement instan ce | * The Conn::create() method creates and initializes a new statement instan ce | |||
* from a SQL string. Currently, there are only simple statement objects | * from a SQL string. Currently, there are only simple statement objects | |||
* implemented, which needs to be complete statements which can be sent to the | * implemented, which needs to be complete statements which can be sent to the | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||