Releases the binding of the connection to the database and user associated by odbx_bind() to the supplied
connection object. This is useful for switching to a different database or binding to the database with
different credentials. It is also possible to set new connection related options before rebinding to the
database server. If an open transaction exists while this function is executed in the firebird backend,
it will be committed to the database and closed. The behavior of the other backends for open transactions
may vary.
It's necessary to process all result sets returned by the database server before using this function.
Otherwise, it might return an error depending on the native database client library and the backend mod‐
ule. This function must be invoked before calling odbx_finish() to avoid memory leaks and connections
left open which may block necessary resources later on.
The handle parameter has to be the connection object created and returned by odbx_init(). It becomes in‐
valid after it was supplied to odbx_finish() and odbx_unbind() will return an error in this case.