Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Database Drivers > Firebird DB Driver > Functions
close/1
Description
close/1 is an Erlang function exported by "firebird" module.
This function releases an existing connection handle from usage. Be aware that the function does not disconnect opened connections. You should invoke disconnect/1 before calling close/1.
References
•open/3
Parameters
Name
Type
Handle
integer()
Database handle.
Result
Value or Type
{ok, Code}
Operation code.
Code Sample
> {db_handle, Handle} = firebird:open(test_db).
> firebird:close(Handle).