method

quoted_scope

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: SchemaStatements
quoted_scope(name = nil, type: nil) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/sqlite3/schema_statements.rb, line 154
          def quoted_scope(name = nil, type: nil)
            type =                case type
              when "BASE TABLE"
                "'table'"
              when "VIEW"
                "'view'"
              end
            scope = {}
            scope[:name] = quote(name) if name
            scope[:type] = type if type
            scope
          end
Register or log in to add new notes.