ConnectionInfo Object

Contains information about the connection as defined in a Data Abstract Server project. This object is accessible through the Global Object's connections array. The ConnectionInfo object gives access to the name and type of the connection.

The code snippet below shows how the ConnectionInfo object could be used:

var SQLiteConnection = connections.find('PCTrade.SQLite');
if (SQLiteConnection != null)
   log('Connection exists');
   log('Connection name: ';
   log('Connection type: '+SQLiteConnection.type);



The name of the connection in the Schema. This is a unique name by which this connection is identified in the Schema.


The type of the connection in the Schema. Represents the kind of DB server the connection is based on, for example 'MSSQL' or 'Oracle'. It can be changed in the Schema Modeler.