Sha256: fd9ec9dbf19de4466fe8a17f537df47c4e29f2eec68914edb64d1e6c24359643
Contents?: true
Size: 280 Bytes
Versions: 1
Compression:
Stored size: 280 Bytes
Contents
module DataMapper module Queries class DropTableStatement def initialize(database, klass) @database, @klass = database, klass end def to_sql "DROP TABLE #{@database[@klass].to_sql}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datamapper-0.1.0 | lib/data_mapper/queries/drop_table_statement.rb |