Included Modules

DataMapper::Migrations::SqliteAdapter

Public Class Methods

included(base) click to toggle source

@api private

    # File lib/dm-migrations/adapters/dm-sqlite-adapter.rb, line 11
11:       def self.included(base)
12:         base.extend DataObjectsAdapter::ClassMethods
13:         base.extend ClassMethods
14:       end

Public Instance Methods

field_exists?(storage_name, column_name) click to toggle source

@api semipublic

    # File lib/dm-migrations/adapters/dm-sqlite-adapter.rb, line 22
22:       def field_exists?(storage_name, column_name)
23:         table_info(storage_name).any? do |row|
24:           row.name == column_name
25:         end
26:       end
storage_exists?(storage_name) click to toggle source

@api semipublic

    # File lib/dm-migrations/adapters/dm-sqlite-adapter.rb, line 17
17:       def storage_exists?(storage_name)
18:         table_info(storage_name).any?
19:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.