ODBC.connect

From FreeSWITCH Wiki
Jump to: navigation, search

Connect to a odbc database.

Return value

  • true - Successfully connected to database
  • false - Connect failed, check DSN settings.

Example

use("ODBC");
var db = new ODBC("myDsn", "userName", "password");
db.connect();

See Also