Class | Og::Connection |
In: |
lib/og/connection.rb
|
Parent: | Object |
A Connection to the Database. This file defines the skeleton functionality. A backend specific implementation file (driver) implements all methods.
Create the managed object table. The properties of the object are mapped to the table columns. Additional sql relations and constrains are created (indicices, sequences, etc).
Transaction helper. In the transaction block use the db pointer to the backend.