Method: Sequel::ReadyMaker#create_view
- Defined in:
- lib/sequel/extensions/make_readyable.rb
#create_view(source, table, schema) ⇒ Object
66 67 68 69 70 71 72 |
# File 'lib/sequel/extensions/make_readyable.rb', line 66 def create_view(source, table, schema) if schema.to_s =~ %r{/} source.create_view(table, temp: true) else source.create_view(table, db[Sequel.qualify(schema, table)], temp: true) end end |