Connect to a Database By Creating Database and Connection Objects

Create Objects & Connect to Database

Create Objects & Connect to Database

As a developer you interact with the SQL Yoga library by creating objects and setting their properties. The root object in the SQL Yoga library is the Database object. A Database object can contain one or more Connection objects.

Click the Create Objects & Connect to Database button to create a Database and Connection object.

If the connection is successful then you will see this dialog.

The primer stack will connect to the france.sqlite database file by default. A Valentina database (france.vdb) is also included in the distribution files. If you would like to test with Valentina then comment out the SQLite lines (1) and uncomment the Valentina lines in the CreateConnectionObject command of the card script.

0 Comments

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.