Setting the Default Database Object

The SQL Yoga library has a default database property (sqlyoga_getDefaultDatabase/sqlyoga_setDefaultDatabase). The value of the property is the name of the Database object that is assumed for all API calls. This makes calls to the library shorter as you don't have to provide the name of the Database object each time.

This lesson will show you how to set the default Database object.

Select Database Object

Select Database Object

Right-Click

Right-Click

Select Set as Default Database Object from the contextual menu. The Database object will be set as the default.

The default Database object always draws as bold in the list.

0 Comments

Add your comment

E-Mail me when someone replies to this comment