Module: SqlView::SchemaDumper Private
- Defined in:
- lib/sql_view/schema_dumper.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Classes: DBView
Instance Method Summary collapse
- #tables(stream) ⇒ Object private
- #views(stream) ⇒ Object private
Instance Method Details
#tables(stream) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
33 34 35 36 |
# File 'lib/sql_view/schema_dumper.rb', line 33 def tables(stream) super views(stream) end |
#views(stream) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
38 39 40 41 42 43 44 45 |
# File 'lib/sql_view/schema_dumper.rb', line 38 def views(stream) stream.puts if sql_views.any? sql_views.each do |view| stream.puts(view.to_schema) indexes(view.viewname, stream) end end |