Introduction to Connection Objects

The Connection Object

The Connection Object

Connection objects are used by SQL Yoga to connect to databases that have the same schema.

A Database object can have multiple connections. For example, you can define one connection that connects to a database used for testing and another that connects to the live database.

The default connection that SQL Query and SQL Record objects use can be changed at any time by setting the default connection property (see dbobject_set) of the Database object.

Refer to the API documention for Database Connection objects for all handlers and properties available.


Add your comment

E-Mail me when someone replies to this comment

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