Skip to content
Trevor DeVore edited this page Nov 21, 2018 · 1 revision

Database Objects

The Database object is the root SQL Yoga object and represents a database. Each Database object represents one database schema but can connect to numerous databases that have that schema. If you have two different database schemas you will need two Database objects.

All other SQL Yoga objects are:

  1. Stored within the Database object, or

  2. Derived from information stored in the Database object.

Database object diagram

Creating Database Objects

A database object can be created using the dbobject_createObject but it is easier to use the app.yml file in the Levure application as described here.