Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Database Drivers > TDS DB Driver > Functions
open/1
Description
open/1 is an Erlang function exported by "tds" module.
This function retrieves a new DB handle based on the parameters provided by register/2.
References
•register/2
Parameters
Name
Type
Database
atom()
Connection ID to the database.
Result
Value or Type
{db_handle, integer()}
On success returns a new Database handle.
Code Sample
> tds:open(test_db).