| Class | ActiveRecord::ConnectionAdapters::KirbyBaseAdapter |
| In: |
kirbybase_adapter.rb
|
| Parent: | AbstractAdapter |
The KirbyBase adapter does not need a "db driver", as KirbyBase is a pure-ruby DBMS. This adapter defines all the required functionality by executing direct method calls on a KirbyBase DB object.
Options (for database.yml):
Note that Ackbar/KirbyBase support migrations/schema but not transactions.
| VERSION | = | '0.1.1' | Ackbar’s own version - i.e. the adapter version, not KirbyBase or Rails. | |
| PRIMARY_KEY_TYPE | = | { :Calculated => 'recno', :DataType => :Integer } |
| db | [RW] |
Translates all the ActiveRecord simplified SQL types to KirbyBase (Ruby) Types. Also allows KB specific types like :YAML.