method

add_column_position!

Importance_0
v3.2.13 - Show latest stable - 0 notes - Class: AbstractMysqlAdapter
add_column_position!(sql, options) public

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/abstract_mysql_adapter.rb, line 512
      def add_column_position!(sql, options)
        if options[:first]
          sql << " FIRST"
        elsif options[:after]
          sql << " AFTER #{quote_column_name(options[:after])}"
        end
      end
Register or log in to add new notes.