Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Database Drivers > Firebird DB Driver > Functions
use/4
Description
use/4 is an Erlang function exported by "firebird" module.
This function combines the DB registration with gathering a new DB handle for connectivity.
References
•register/4
•open/3
Parameters
Name
Type
Database
atom()
Database name.
Options
[]
Database connectivity options.
User
string()
Optional. User name. Default value is ?FIREBIRD_DEFAULT_USERNAME.
Password
Optional. User password. Default value is ?FIREBIRD_DEFAULT_PASSWORD.
Result
Value or Type
{db_handle, integer()}
On success returns the DB handle.