Class | Og::SqliteBackend |
In: |
lib/og/backends/sqlite.rb
|
Parent: | Backend |
Implements an SQLite powered backend.
TYPEMAP | = | { Integer => 'integer', Fixnum => 'integer', Float => 'float', String => 'text', Time => 'timestamp', Date => 'date', TrueClass => 'boolean', Object => 'text', Array => 'text', Hash => 'text' | A mapping between Ruby and SQL types. |
Return an evaluator for reading the property. No need to optimize this, used only to precalculate code.
Return an sql string evaluator for the property. No need to optimize this, used only to precalculate code. YAML is used to store general Ruby objects to be more portable.
FIXME: add extra handling for float.