Sha256: 75add4e07e48305977a78b3c3e957b3ce8ad78300cb0f8d4d5f8982327e7bd0c
Contents?: true
Size: 289 Bytes
Versions: 1
Compression:
Stored size: 289 Bytes
Contents
module DataMapper module Queries class TruncateTableStatement def initialize(database, klass) @database, @klass = database, klass end def to_sql "TRUNCATE 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/truncate_table_statement.rb |