-
Notifications
You must be signed in to change notification settings - Fork 4
Connection
Trevor DeVore edited this page Aug 1, 2018
·
7 revisions
Connection objects are used by SQL Yoga to connect to databases that have the same schema. The object properties tell SQL Yoga where the database is located, which credentials to use to connect, etc.
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.
SQL Yoga USER GUIDE
- Home
- SQL Yoga Objects
- Database Objects
- Connection Objects
- SQL Query Objects
- SQL Record Objects
- Table Objects
- Table Object Behaviors
- Relationships
- Scopes
- Schema
- Working with User Search Strings
- SQL Query Template Objects
- Error Handling
- Migrating from SQL Yoga 1.x
- Integrating with the Levure Application Framework