method

table_name_matches?

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
table_name_matches?(from) 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/relation/query_methods.rb, line 1200
      def table_name_matches?(from)
        /(?:\A|(?<!FROM)\s)(?:\b#{table.name}\b|#{connection.quote_table_name(table.name)})(?!\.)/.match?(from.to_s)
      end
Register or log in to add new notes.