Sha256: 2aecd66a1b7568dc68062789e66955c821435e05a3426b37cfaa76c29496880e

Contents?: true

Size: 399 Bytes

Versions: 17

Compression:

Stored size: 399 Bytes

Contents

module Sequel
  class Dataset
    # Creates a view in the database with the given named based
    # on the current dataset.
    def create_view(name)
      @db.create_view(name, self)
    end

    # Creates or replaces a view in the database with the given
    # named based on the current dataset.
    def create_or_replace_view(name)
      @db.create_or_replace_view(name, self)
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
colincasey-sequel-2.10.1 lib/sequel_core/dataset/schema.rb
colincasey-sequel-2.10.2 lib/sequel_core/dataset/schema.rb
colincasey-sequel-2.10.4 lib/sequel_core/dataset/schema.rb
sequel-2.11.0 lib/sequel_core/dataset/schema.rb
sequel-2.10.0 lib/sequel_core/dataset/schema.rb
sequel-2.3.0 lib/sequel_core/dataset/schema.rb
sequel-2.7.0 lib/sequel_core/dataset/schema.rb
sequel-2.5.0 lib/sequel_core/dataset/schema.rb
sequel-2.7.1 lib/sequel_core/dataset/schema.rb
sequel-2.6.0 lib/sequel_core/dataset/schema.rb
sequel-2.4.0 lib/sequel_core/dataset/schema.rb
sequel-2.8.0 lib/sequel_core/dataset/schema.rb
sequel-2.9.0 lib/sequel_core/dataset/schema.rb
sequel_core-2.1.0 lib/sequel_core/dataset/schema.rb
sequel_core-2.0.0 lib/sequel_core/dataset/schema.rb
sequel_core-2.0.1 lib/sequel_core/dataset/schema.rb
sequel_core-2.2.0 lib/sequel_core/dataset/schema.rb