module Epiphy::Schema

Public Instance Methods

create_collection() click to toggle source

Create a collection storage in database.

# File lib/epiphy/scheme.rb, line 5
def create_collection
  query do |r|
    r.table_create(self.collection)
  end
end
drop_collection() click to toggle source

Drop a collection storage in database

# File lib/epiphy/scheme.rb, line 13
def drop_collection
  query do |r|
    r.table_drop(self.collection)
  end
end