Sha256: 50d52782fb67c65a19e87b8751d84f0987bca089731b601dc530d85e00c35a61
Contents?: true
Size: 242 Bytes
Versions: 7
Compression:
Stored size: 242 Bytes
Contents
module Rein module View def create_view(view_name, sql) sql = "CREATE VIEW #{view_name} AS #{sql}" execute(sql) end def drop_view(view_name) sql = "DROP VIEW #{view_name}" execute(sql) end end end
Version data entries
7 entries across 7 versions & 1 rubygems